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 ...CanCan't upload modules or skins in a medium trust level .NET security
Previous
 
Next
New Post
12/5/2006 11:38 AM
 

Hello,

recently my host has changed the security level of the .NET environment to 'Medium Trust' as a mean to address security concerns. After that, I can't upload/install any new module, skin or container to my DNN. I always get this error message:

DotNetNuke.Services.Exceptions.ModuleLoadException: 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.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath, String SkinRoot, String SkinName, Stream objInputStream) at DotNetNuke.Modules.Admin.FileSystem.WebUpload.cmdAdd_Click(Object sender, EventArgs e) 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 ---

It seems that DNN needs a permission to write files somewhere and the system doensn't allow it. But, for what type of permmision should I ask to my host exactly?

Can anyone help me with this?

Thank you

Fernando

 
New Post
12/5/2006 11:55 AM
 

Hello again,

I forgot to say that it is a DNN 4.3.5 install. Also I can upload files through "file manager" and rest of things seems to work fine.

Thank you

Fernando

 
New Post
12/7/2006 4:52 PM
 
Hi Fernando, have you tried this with the latest version of DNN?
 
New Post
12/7/2006 8:40 PM
 

Hi Jeff,

No. I couldn't get any help from my ISP so I'm very busy rebuilding my site in a new hosting plan with a new provider (WebSecureStores). It is a fresh install 4.3.7 (provided by them) and things go fine.

Fernando

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...CanCan't upload modules or skins in a medium trust level .NET security


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