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 exception n new installation 4.3.5Security exception n new installation 4.3.5
Previous
 
Next
New Post
10/11/2006 5:12 PM
 

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) +688
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +173
   System.Web.CachedPathData.GetConfigPathData(String configPath) +398
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +329
   System.Web.HttpContext.GetFilePathData() +27
   System.Web.HttpContext.GetConfigurationPathData() +27
   System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) +136
   System.Web.HttpRequest.get_Browser() +115
   System.Web.ErrorFormatter.RequiresAdaptiveErrorReporting(HttpContext context) +102


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

I get the above  error with 4.3.5 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/15/2006 7:38 PM
 

We have a client that has identified this issue with a module installation as well in 4.3.5. I am curious to see if this needs to be logged as a bug with the latest release or if there is something else we can do. Also, have you tried installing 4.3.4 on your server and seeing if you got the error with that version?

-Chad
www.datasprings.com
20+ DNN Modules

 

 
New Post
10/16/2006 5:23 PM
 

Chad,

Thank you for the suggestion.

First I have tried removing the reports zip file from the install\modules folder as someone else suggested.

That did not work.

I have tried with 4.3.4: same error, and finally with 4.0.3.

The worst thing is: I've been testing and using DNN at my site and this was the first customer where I have been given the opportunity to install a solution with DNN. So far with no results. Imagine , I've tried several things for the last 10 days and their patience with DNN might be running out.

They only have one windows server (2003) ( I began with a small customer), I cannot install it on another server there.

Maybe WSS next time.

 
New Post
10/16/2006 6:02 PM
 

Hmmm... Weird. I would actually try removing almost all files except maybe text/html and login from the install\modules directory. I bet one of those might cause the problem. The case with our client the problem happened with a module that does not use a compiled dll file but instead adds the code to the app_code directory.

Good luck and let me know if you end up finding a solution.

-Chad

 

 
New Post
10/17/2006 3:47 AM
 

Chad,

 

I had removed all modules zip files before , but I removed all of them. I stil received the same error. But I am willing to give it another try with text/html and login remaining.

How can I trace exactly when this problem occurs? Is that possible? Is there a log that i can view?

It does occur almost instantaneously , not one ot the normal install messages appears on the page when you start the installation procedure.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security exception n new installation 4.3.5Security exception n new installation 4.3.5


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