Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install not allowed by security policy. Trust level issueInstall not allowed by security policy. Trust level issue
Previous
 
Next
New Post
7/23/2010 7:36 PM
 
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!!
 
New Post
7/24/2010 4:06 AM
 
there still seems to be problems with file system permission for the ASp.Net account. While using Windows Server 2008 R2, did you read this post: http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2420/Windows-7-Windows-2008-R2-cross-application-pool-isolation.aspx ?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/24/2010 9:35 PM
 
Just looked at that article. I'm actually running this in WIn2003 Server R2. IIS 6.0. I still did a search for IIS AppPool\DefaultAppPool anyway and nothing like that exists.
 
New Post
7/25/2010 6:13 AM
 
make sure, you have .Net framework 3.5 Sp1 installed and you may also need to re-register asp.net, if IIS has been installed after .net

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/25/2010 1:39 PM
 
3.5 SP1 is installed.  ran the exe to re-register asp.net. aspnet_regiis.exe -i

Restarted DefaultWebsite and DefaultAppPool in IIS after the re-register.  Still getting the same error.

Sharepoint is installed on this server.  Would that be causing any issues?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install not allowed by security policy. Trust level issueInstall not allowed by security policy. Trust level issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out