I've been working on this DNN install for 2 days now and I really need to get this going. I'm assuming this is a security issue?
Environment:
Win 2003 R2 Service Pack 2
SQL 2005 Server
Server is part of a domain
DNN 5.4.4
Server Error in '/DNNMedBill' 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 for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +58
System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) +93
System.AppDomain.get_BaseDirectory() +33
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +291
DotNetNuke.Common.Initialize.Init(HttpApplication app) +145
DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) +560
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|
- Logged in as local administrator during install
- Set full control to DNN folder to network services
- Set modify permissions to IUSR_SERVERNAME
- DefaultAppPool Identity is set to the predefined "network service"
I checked Event manager. Under application I am getting this error.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/23/2010 6:22:25 PM
Event time (UTC): 7/23/2010 10:22:25 PM
Event ID: e3c84d3e09ef4b26b8cbb9bbe2dd265a
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/DNNMedBill-4-129243967985679072
Trust level: WSS_Minimal
Application Virtual Path: /DNNMedBill
Application Path: D:\DNNMedBill\
Machine name: US001WEB
Process information:
Process ID: 1276
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at DotNetNuke.Common.Initialize.LogEnd()
at DotNetNuke.Common.Global.Application_End(Object Sender, EventArgs E)
Any help would greatly be appreciated!!