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 ...System.Security.Permissions.FileIOPermission after moving the websiteSystem.Security.Permissions.FileIOPermission after moving the website
Previous
 
Next
New Post
5/20/2009 9:02 PM
 

hi experts,

I moved the website from one hosting plan under luckyregister.com to another hosting plan, and I'm getting an error Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I did not make any changes to website. the website was created for me by another person. Here is a details of error:

 

AssemblyVersion 04.08.04 PortalID 0 PortalName Northeastern Wisconsin's Local Builder/Remodeler Rating Guide UserID -1 UserName ActiveTabID 36 ActiveTabName Home - Green Bay Builder Ratings RawURL /home/default.aspx AbsoluteURL /home/default.aspx AbsoluteURLReferrer UserAgent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) DefaultDataProvider DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID 204c38fc-7eb5-4937-819a-d0130081b76d InnerException Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. FileName FileLineNumber 0 FileColumnNumber 0 Method System.Security.CodeAccessSecurityEngine.Check StackTrace Message DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Modules.Repository.RepositoryBL.SetRepositoryFolders(Int32 ModuleId) at DotNetNuke.Modules.Repository.RepositoryDashboard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace --- Source

 

Thank you for youe help in advanced.


 
New Post
5/21/2009 7:34 AM
 

Make sure, the ASP.net account ("Network service" by default) has full permissions on DNN installation folder including ALL subfolders and files. you may need to reapply permissions after moving the site.


Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2009 9:13 AM
 

The only persmssion/Settings   that I can change are:

1) IIS

     a) Anonymous Access (Yes/No)

     b) Set Application (Yes/No)

     c) Directory Browsing (Yes/No)

2) File Permissions

    a) Inherit from Parent

    b) Read

   c) Write

 

 I reapplied settings/permissions numourous times. Still no luck...

Thank you!

 
New Post
5/21/2009 9:46 AM
 

 it's file permissions for the installation directory (using windows file manager). Grant full permission to ASP.Net account ("Network Service" by default).


Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2009 10:12 AM
 

In the file manager the only permissions I can set are Read, Write, and Inherit.  There is not place in the hosting control panel specify permission for ASP.NET acocunt. I have FTP access, but you cannot set permissions using FTP. I am a little bit confused...OD i need to call the hosting company to reset it ?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...System.Security.Permissions.FileIOPermission after moving the websiteSystem.Security.Permissions.FileIOPermission after moving the website


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.

Copyright 2014 by DNN Corp | Terms of Use | Privacy | Design by Parker Moore Design