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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security exceptionSecurity exception
Previous
 
Next
New Post
9/23/2006 5:50 AM
 
when i try to brrowse portal fllowing error arised:

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.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3492138
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163
   System.Web.CachedPathData.GetConfigPathData(String configPath) +382
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.Configuration.DeploymentSection.get_RetailInternal() +221
   System.Web.Configuration.CustomErrorsSection.CustomErrorsEnabled(HttpRequest request) +24



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

what should i do?

 
New Post
10/11/2006 5:09 PM
 

I get exactly the same error with 4.5.3 after I have set everything up for a dotnetnuke on a particular Win 2003 server.

On other Windows 2003 servers I do net get the error. But on this server whatever I try I keep getting the error.

I've follwed all the steps:

  • unzip the install package
  • setup the database
  • setup database login
  • set permissions on the folder
  • configure IIS (i've tried virtual directory and a directory under c:\inetpub\wwwroot
  • configure web.config (connectionstring settings at 2 locations)
  • perform the installation on http://localhost/dotnetnuke

I've given full rights to asp.net and to network service account. But keep on getting the error on this particular server. The only difference I can see is that I have used remote desktop to install everything on that server.

Any suggestions are welcome.

 
New Post
10/11/2006 5:38 PM
 

 

This is a bug that causes DNN to try and write to the machine's web.config file. 
On some servers the write is allowed, but on others it is locked down, but regardless it should not be trying to write to that file.

Try removing the reports module before installing, and it should work.


DotNetNuke Modules from Snapsis.com
 
New Post
10/13/2006 3:14 PM
 

John,

 

I've removed the reports zip file from the \Install\Module folder

But that did not help. Same error.

I've removed all zip files from the \Install\Module folder -> still same error.

Modified c:\Intepub\wwwroot\web.config and gave full access rights to NETWORK SERVICE -> still same error

I am stumped.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security exceptionSecurity exception


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