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/26/2012 4:48 PM
 

I am trying to do to a new install on a shared host. I get the following error when I navigate to my web site in order to start the installation:

System.UnauthorizedAccessException: Access to the path 'E:\Web\f\fpcoinner\web.config' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding) at System.Xml.XmlDocument.Save(String filename) at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceManager.AddConfiguration() at DotNetNuke.Services.Install.InstallWizard.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

The server is a 2008R2 with IIS 7.0. I asked the tech support to give full control to the IIS  APPPOOL user for my site, but he is telling me that their is no such user.  So I guess it's because it's IIS 7,0 so he gave full control to the Network Service user but still...

Any advice?

Thanks,
Eric




 
New Post
3/26/2012 5:39 PM
 

If they're doing a "Standard" installation in IIS 7 or IIS 7.5 youd need "IIS_IUSRS" and "Network Service" accounts with 1 level below full control to successfully install DotNetNuke.

Also, make certain they've got your site running .Net 3.5SP1 or greater


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
3/27/2012 11:05 AM
 
Thanks for your reply Ken,
The tech support is telling me that they cannot give full control to the user IIS_IUSRS on my root, is their a way around this?

Thanks,
Eric
 
New Post
3/27/2012 1:32 PM
 

Full Control is not needed.. Everything but "Full Control" .. Modify; Read/Execute; List folder contents; Read; Write

It may not be IIS_IUSRS account they may have created a special user for that purpose.

You need to work out what users or groups they're permissioning on your web site/IIS/SQL.

All I can tell you is that your error is permissions related


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
3/27/2012 2:33 PM
 
It seems that the permission Modify; Read/Execute; List folder contents; Read; Write on the root folder of my site cause a breach in the security, and for this reason my hosting provider do not allow such permissions. Is their an other way to process with the install?

Would editing manually the web.config solve the problem?

What are the reasons behind having IIS_IUSRS with such permission?

Can we have DNN working without it and if so what are the consequences?

Thanks again for your help,
Eric
 
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