U4-1378 - "About" dialog is broken

Created by Shannon Deminick 01 Jan 2013, 18:10:25 Updated by Sebastiaan Janssen 02 Jan 2013, 09:15:00

When you click on the About dialog we get a security exception. Not sure what version this started from but appears to be a medium trust issue. The URL is: /Umbraco/dialogs/about.aspx

the stack trace/exception is:

Server Error in '/' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request failed.

Source Error:

[No relevant source lines]

Source File: about.aspx.cs Line: 34

Stack Trace:

[SecurityException: Request failed.] umbraco.dialogs.about.Page_Load(Object sender, EventArgs e) in about.aspx.cs:34 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 umbraco.BasePages.BasePage.OnLoad(EventArgs e) in BasePage.cs:420 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245 System.Web.UI.Page.ProcessRequest() +72 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +58 ASP.umbraco_dialogs_about_aspx.ProcessRequest(HttpContext context) in App_Web_about.aspx.10695ae8.htmuev-t.0.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

Comments

Sebastiaan Janssen 02 Jan 2013, 08:41:37

Fixed in changeset 9563bd6cc21d Medium trust issue, see: http://haacked.com/archive/2010/11/04/assembly-location-and-medium-trust.aspx


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.0

Due in version: 6.0.0

Sprint:

Story Points:

Cycle: