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 ...Access to the path Access to the path 'C:\Apps\DotNetNuke\Website\web.config' is denied.
Previous
 
Next
New Post
1/24/2006 4:50 PM
 

I've worked on tracking down the cause and solution for this problem for almost a month, and I have it at last!  Microsoft support was profoundly helpful; my thanks to them.

The problem arose because the primary domain controller of my forest (it's a forest of two, but it's still a forest) was Windows 2000.  This does not contain the well known security principles such as Network Service.  Because I ran 'dcpromo' on a W2K3S system in a domain controlled by a W2K server, my W2K3S specific principles disappeared from view, but not from existence.

Apparently, if I had run 'adprep /domainprep' and/or 'adprep /forestprep' from my W2K3S CD on my W2K PDC before running dcpromo on my W2K3S box, I would have been OK.  I'm not in a position to verify this.  The fix which worked for me was to switch the PDC/RID/Infrastructure rolls to my W2K3S box, which I had intended to do some fine day, anyway.  I understand that I could have switched right back to the W2K box afterwards and would have stayed fixed.

To switch roles:

  • Open Active Directory Users and Computers.
  • Right click on the top node and select "Connect to domain controller"
  • Select the W2K3 DC
  • Right click on the root node of the domain and select "Operations Masters..."
  • On the RID, PDC & Infrastructure tabs, verify that Operations Master is the W2K machine, and the lower computer name is the W2K3S machine.  Click "Change" for each.
  • Verify that your ability to ACL a directory for Network Service suddenly and joyfully works!
  • Switch the roles back if you like.

If this is beyond your privileges, see the other response I posed about using 'cacls' to work around the problem.  This may be good enough; I just had to find out what was really going on.

There is a KB article related to this; http://support.microsoft.com/Default.aspx?id=827016
Also note that this solution assumes both machines are in the root domain of a forest.  If you are in a non-root forest, the solution may differ and again, I'm not in a position to verify this.

 
New Post
5/15/2007 11:09 PM
 

Thanks, I do folow you and have passed instalation!

vank wrote

Thanks!  I thought there should be some way to get a complete list.

ASPNET shows up, but not NETWORK SERVICE.  There's a NETWORK account, and a SERVICE account, but not NETWORK SERVICE.

It's a stumper.  I've had special problems with accounts on domain controllers in the past, enabling FP access, for example, but this is different.  I know the account is there, I just don't know how to get access to it.

 
New Post
6/12/2007 8:50 PM
 
wtchout wrote

i finally got it to work.. here's what i did.

i dropped both the user and database from sql2005 and recreated them again.
then i installed dnn322 on another virtual directory, the install process worked right away.
then i installed dnn402 on another virtual directory and launched it, it upgraded 322 to 402.
then i deleted dnn322 and worked on the new version.

i think the installer for the 402 does not work on a blank database, but it will upgrade other version to it.

hth



I am wondering if this isn't true myself. I have a DNN installation on this web server and it works fine but my new installation, which has security configured exactly the same, gives me this error when trying to install.
 
New Post
6/12/2007 9:07 PM
 
I take that back. My problem (and possible the other person's problem) was that I didn't have my database security set right.

It is a terribly misleading error message since my problem had absolutely nothing to do with directory security. The site was in fact able to access web.config just fine.
 
New Post
3/5/2010 7:01 PM
 

Arg - I've hit this wall myself... what WAS the issue with your database's security configuration?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Access to the path Access to the path 'C:\Apps\DotNetNuke\Website\web.config' is denied.


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