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 ...Permission error on fresh install.Permission error on fresh install.
Previous
 
Next
New Post
6/8/2009 6:15 AM
 

I've just installed DNN for the first time and after fixing many problems have finally got it to install and display the home page. However, I'm now seeing the following error whenever I try to do anything useful with DNN:

A critical error has occurred. Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

My Googling indicates this might be a trust level issue, so I've tried increasing the trust level (in the trust tag in the web.config), however this results in DNN just failing silently whenever I try to do anything.

For example, in the Admin -> User Accounts page, when I try to add a new user with trust level set to medium in web.config, I get the error above displayed in the toppane area. When I try to add a new user with high trust, nothing happens at all. The page is fetched and re-rendered, but no form to add a new user is displayed. The same behaviour occurs with full trust.

The same behaviour occurs in pretty much every peice of functionality across the site which I would expect to render a form of some sort. I can't display or edit my own user profile. I can't manage other users. I can't add any new pages. And so on...

As stated, I've tried Googling this issue, but nothing I've come up with seems to help. For reference, I'm running XP Pro SP3. I had a number of problems installing DNN, including the redirect loop issue which I fixed by adjusting web.config to use the framework 3.5 ajax controls. I'd appreciate some help with this issue as I'm really stuck presently. Thanks.

 
New Post
6/8/2009 10:01 AM
 

Hosted server or your own?  If hosted, does your host allow trust level changes?

Jeff

 
New Post
6/10/2009 12:58 AM
 

Jeff Cochran wrote

Hosted server or your own?  If hosted, does your host allow trust level changes?

Hi Jeff, it's running on my own dev box which I control. This is a fresh install of DNN and there are no other dotnet web projects running in IIS. OS is XP Pro.

As mentioned in the description, I've tried setting a higher trust level (high and full) in web.config and while this makes the error message disappear, it doesn't actually fix the problem as the components don't render. Would love some ideas on how to get past this.

Cheers,

Mark

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Permission error on fresh install.Permission error on fresh install.


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