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 ...Security Exception Error on installationSecurity Exception Error on installation
Previous
 
Next
New Post
12/15/2006 7:27 PM
 

 
 
Hello Everyone,

I am fairly new to DotNetNuke.

I have a shared web hosting plan from 1and1, i followed the instructions to install the portal:

- web.config

- Network user permission

- Created the virtual directory ( they call it Application Directory)

 

Installation goes well without any error. However when i try to access the portal i see the standard modules but without the content ( text, images, ....) and when i try to log in I get the Security Exception Error (detailed at the end of this post) i refresh my browser 3 to 4 times everytime to be able to access the page. This behavior is totaly random in the sense that there is no certainety it will happen or not.

I would realy appreciate any help guys and thank you for your patience.

ERROR DETAILS:

 

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() +59
   System.IO.Path.GetFullPath(String path) +98
   System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath, Boolean& pathTooLong) +50
   System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath) +23
   System.Web.CachedPathData.GetConfigPathData(String configPath) +465
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +132
   System.Web.HttpContext.GetFilePathData() +27
   System.Web.HttpContext.GetConfigurationPathData() +26
   System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey) +36
   System.Configuration.ConfigurationManager.GetSection(String sectionName) +107
   System.Configuration.ConfigurationManager.get_AppSettings() +29
   System.Web.Configuration.WebConfigurationManager.get_AppSettings() +5
   DotNetNuke.Common.Globals.GetDomainName(HttpRequest Request, Boolean ParsePortNumber) +75
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +4056
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
 

 
New Post
12/16/2006 8:38 PM
 

I have the identical situation. 1and1.com and same error. I read somewhere that you can install to the root and not get that error. I will try that tonight and get back to you.

 
New Post
12/17/2006 3:00 PM
 

Thank you Cnull for your reply!!! I will be waiting to hear if your installations works !! and if it did can you u please include details about the steps to achieving that!!

 

 
New Post
12/17/2006 4:28 PM
 

Well I tried installing to the root. It did not work either. I am stumped. Any help would be appreciated!!

 

Thanks,

Chris

 
New Post
1/8/2007 11:41 AM
 
cnull2 wrote

Well I tried installing to the root. It did not work either. I am stumped. Any help would be appreciated!!

 

Thanks,

Chris

I had the same problems while installing in the root folder. Reason was that I couldn't set file security on the root folders (but just on subfolders/files). During installation the subfolder DesktopModules is created, and this fails as it gets access denied.
In the installation scripts it is not reported, and you end it with no installed modules.
Workarround would be to create DesktopModules folder by yourself and set security on it BEFORE you start installation. it worked for me.
Anyway after so much struggling with 1and1 I'll probably chnage hosting provider.

 

best regards
Goran

 

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Security Exception Error on installationSecurity Exception Error on installation


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