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 ...System.UnauthorizedAccessExceptionSystem.UnauthorizedAccessException
Previous
 
Next
New Post
3/27/2012 3:01 PM
 

A few comments . . .

1. I thought that Windows Server 2008 R2 would be IIS 7.5 not IIS 7.0. If that is the case the default IIS Identity Account (ASP.Net worker process account) would NOT be Network Service but a virtual account (IIS AppPool\DefaultAppPool). It would be to this account (or a custom one assigned as the web application's IIS Identity Account) that one step less than Full Permission (must include Modify permission) must be granted.

2. The IIS_IUSRS account (or a custom account for this site) should only need List, Browse permission.

3. If your hosting provider is GoDaddy, it is my understanding that they will not grant the ASP.Net worker process account the necessary permissions for an install to the root folder - hence DNN must be installed in a subfolder.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/27/2012 5:57 PM
 

My 2c

1. IIS7/7.5 use app pool isolation by default fo IIS AppPool\DefaultAppPool is the default user for the application pool. If you have a different app pool name (e.g. "cathal") the user would be IIS AppPool\Cathal - you can read more on Microsofts logic at http://www.dotnetnuke.com/Resources/B... . However many hosts choose to change the user the application pool works under back to network service (as it's easier to grant permissions to "real" users rather than virtual users) or to create a new user and apply it to the application pool. Irregardless, whatever account the application pool works under needs modify permissions from the root down.

2.you do not need IIS_IUSRS permissions as that is for out of bound processes (e.g. classic asp/cgi-bin/perl). AFAIR you do need the IUSR user (list/read permissions) as that is the account that initially loads the page from the file system before determining that it has a .net extension and passing it to asp.net for processing - there are some perculiarties about this (http://serverfault.com/a/184778 covers them well) -please note, as the IUSR user is a member of the all users group it often will already have the necessary permissions.

Finally, I would suggest that you check and ensure that the web.config is not set as read-only as that will also stop file writes - if you've copied the files via FTP the readonly bit will be automatically cleared - however some hosts support deploying code from within their infrastructure and an internal network copy can maintain the readonly bit - however I would very much doubt this would happen , it's much probable if you were hosting your own server.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...System.UnauthorizedAccessExceptionSystem.UnauthorizedAccessException


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