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 - File IO Permissions errorSecurity Exception - File IO Permissions error
Previous
 
Next
New Post
12/5/2006 5:08 PM
 

Hello,

I also have the same error message when trying to install DNN in my ISP. The installation goes fine until the last step: DNN app is intalled and modules are istalled but the script "Creating Portal:Mywebsite" fails.

This is the error message:

Error: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed

It happens after my ISP changed the security level of the .NET environment to 'Medium Trust'.

After that security policy change, I also get the same error message in other production site when I try to upload/install any new module or skin, as described in this thread:

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/108/threadid/89236/scope/posts/Default.aspx

Fernando

 
New Post
12/6/2006 1:22 AM
 

Hey frankt, many thanks for thoughts. Agree too re FCK - is great!

My config was OK for your points 1 and 2, but not for 3. I copied the features.config to root folder - but no difference - same error came up. My hosting organisation also says all correct permissions are set.

 
New Post
12/6/2006 6:44 AM
 
Well, I think this is definitely a trust issue and DNN is not 100% compatible with DNN running in medium trust in an ISP environment. 

I have encountered this issue on several occasions and fortunately I am now able to run DNN in a higher trust level than medium.
 
New Post
12/6/2006 8:50 AM
 

Based on the exception you posted in the first post, it is trying to read the web.config file and it can't.  I really don't know why but that's the problem.  Is this in your web.config file? 

<identity impersonate="true" />

Try modifying your web.config file (just add spaces to restart your app domain and see what happens.  I'm just shooting in the dark now. 


Version: DNN 4.4.1
Hosting Provider: 1and1
RAISE
 
New Post
12/6/2006 12:06 PM
 

The problem is most likely (I had the very same error once) that the asp.net Identiy does not have priviliges on the root of the harddrive. This may happen when websites are hosted on a dedicated harddrive. Per Default windows will give sufficient permissions to every user, but if this a dedicated harddrive it may not.

The least permission that the asp.net identity must have on the root of the harddrive where it is installed is List Folders (apply to: All subfolders)

I cannot say under which circumstances this permission key is needed by the app, but as you have figured yet, it sometimes it is need.

Hope tat helps


Cheers,
Philipp Becker, Peppertree Solutions
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security Exception - File IO Permissions errorSecurity Exception - File IO Permissions 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