Oct 24, 2011, 3:25 PM
[CLOSED] Demo page error
https://examples2.ext.net/
Execution permission cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Policy.PolicyException: Execution permission cannot be acquired.
Source Error:
Line 21: this.Session["Ext.Net.Theme"] = Ext.Net.Theme.Default;
Line 22:
Line 23: this.TriggerField1.Focus();
Line 24: }
Line 25: }
Source File: c:\HostingSpaces\gmcgill\examples.ext.net\wwwroot\Default.aspx Line: 23
Stack Trace:
[PolicyException: Execution permission cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7606504
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57
[FileLoadException: Could not load file or assembly 'Wilco.SyntaxHighlighter' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Could not load file or assembly 'Wilco.SyntaxHighlighter' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)]
System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) +272
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1431
System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) +56
System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +8
System.Web.HttpContext.GetSection(String sectionName) +47
System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName) +39
System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) +6
System.Configuration.ConfigurationManager.GetSection(String sectionName) +78
Ext.Net.GlobalConfig..cctor() +10
[TypeInitializationException: The type initializer for 'Ext.Net.GlobalConfig' threw an exception.]
Ext.Net.GlobalConfig.get_Settings() +0
Ext.Net.ResourceManager.get_Namespace() +151
Ext.Net.XControl.GetNamespace(Boolean parseDot) +379
Ext.Net.XControl.get_ClientNamespace() +15
Ext.Net.XControl.GetNamespace(Boolean parseDot) +327
Ext.Net.XControl.get_ClientNamespace() +15
Ext.Net.XControl.GetNamespace(Boolean parseDot) +327
Ext.Net.XControl.get_ClientNamespace() +15
Ext.Net.XControl.GetNamespace(Boolean parseDot) +327
Ext.Net.XControl.get_ClientNamespace() +15
Ext.Net.XControl.GetNamespace(Boolean parseDot) +327
Ext.Net.XControl.get_ClientNamespace() +15
Ext.Net.XControl.get_ClientID() +23
Ext.Net.Component.get_ClientID() +36
Ext.Net.XControl.get_CallID() +7
Ext.Net.XControl.CallTemplate(ScriptPosition position, String template, String name, Object[] args) +458
Ext.Net.XControl.Call(ScriptPosition mode, String name, Object[] args) +22
Ext.Net.XControl.Call(String name, Object[] args) +19
Ext.Net.XControl.Call(String name) +12
Ext.Net.Component.Focus() +16
ASP.default_aspx.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\gmcgill\examples.ext.net\wwwroot\Default.aspx:23
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Last edited by Daniil; Oct 26, 2011 at 6:03 PM.
Reason: [CLOSED]