I get several different error pages when the site has crashed. I know that the web.config has this in it:
<!-- permits errors to be displayed for remote clients -->
<customErrors mode="Off" />
<!-- Forms or Windows authentication -->
<authentication mode="Forms">
<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
Yet 50% of my error pages post-crash refer to this line instructing me to set customErrors to Off. This makes me think there are permissions issues? Maybe the web.config is locking up?? We've looked a few times after it crashed and found no obvious issues.
The most common 4 errors I see in the Event Viewer are below. Sometimes I see these about 50 times within 1-2 hours of each other. (Generally the same error repeated.)
AssemblyVersion: 04.06.02
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Stores/Default.aspx?tabid=36&error=Request+for+the+permission+of+type+'System.Security.Permissions.FileIOPermission%2c+mscorlib%2c+Version%3d2.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3db77a5c561934e089'+failed.&content=0
AbsoluteURL: /Stores/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
DefaultDataProvider:
ExceptionGUID: f68080a5-0b11-44a1-a258-fd270252b0bb
InnerException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.CodeAccessSecurityEngine.Check
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Path.GetFullPath(String path) at System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath, Boolean& pathTooLong) at System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath) at System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) at System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection(String sectionName) at DotNetNuke.Framework.Providers.ProviderConfiguration.GetProviderConfiguration(String strProvider) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Modules.NavigationProvider.NavigationProvider.Instance(String FriendlyName) at DotNetNuke.UI.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider) at DotNetNuke.UI.Skins.Controls.Nav.OnInit(EventArgs e) in d:\Inetpub\gostores\website\Admin\Skins\Nav.ascx.vb:line 177 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) in d:\Inetpub\gostores\website\Default.aspx.vb:line 589 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---
Several Errors involving the SolPart Menu:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.06.02
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /stores/Default.aspx
AbsoluteURL: /stores/Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID: 9fe15268-1298-4eb7-83a9-b580bbd7308d
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.WebControls.SolPartActions.get_ExpandDepth
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.SolPartActions.get_ExpandDepth() at DotNetNuke.UI.WebControls.SolPartActions.Page_PreRender(Object sender, EventArgs e) --- End of inner exception stack trace ---
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.06.02
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /stores/Default.aspx
AbsoluteURL: /stores/Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID: 65488c64-411d-44d9-82b0-a2961d2edd9b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.WebControls.SolPartActions.SetMenuDefaults
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.SolPartActions.SetMenuDefaults() --- End of inner exception stack trace ---
Source:
And MapPathCaching:
AssemblyVersion: 04.06.02
PortalID: 0
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /stores/Default.aspx
AbsoluteURL: /stores/Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID: 83ab45d8-28e9-4015-91ff-893c3fc44662
InnerException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Configuration.MetabaseServerConfig.MapPathCaching
StackTrace:
Message: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) at System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection(String sectionName) at DotNetNuke.Framework.Providers.ProviderConfiguration.GetProviderConfiguration(String strProvider) at DotNetNuke.Services.Exceptions.BasePortalException.InitilizePrivateVariables() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer
Source: