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 ...FileIOPermission ErrorFileIOPermission Error
Previous
 
Next
New Post
1/6/2007 4:28 PM
 
Hey all, I have a new 4.4 installation and it mostly works ok, but I periodically get the following error.  Sometimes I refresh the page and it goes away, other times and places it keeps happening. For instance, I can load the site correctly when I just navigate to www.mydomain.com/dnn/  but when I click the 'Home' button in them menu, I get the error consistently.  Any ideas what might be happening???  Note that I am currently using a hosts file for my DNS while I get this new site set up to replace my old one.  There is no content in it - I've made no changes to vanilla 4.4 except to change the passwords on the host and admin accounts.

[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
1/8/2007 10:07 AM
 
I am having the same problem. Help!.
 
New Post
1/8/2007 1:42 PM
 
Seems to be a problem with DNN requiring Full Trust when the application is not in the root of the domain.  Community Server has the same problem:

http://communityserver.org/forums/3/532808/ShowThread.aspx

The recommendation for CS is to create subdomains so that the app is always in the root.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...FileIOPermission ErrorFileIOPermission Error


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