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 denied web.configAccess denied web.config
Previous
 
Next
New Post
12/14/2007 10:19 AM
 

Hi,

I have actually been successfully using dnn for many years now, BUT I am just trying to install it onto a brand-new hosted server (2003 web edition), and just cannot get it to install.

I have checked network service access so many times - it has full control over the whole website.

I checked that my app pool is running under network service

I checked that web.config is not read only

I get : Access to the path 'D:\WebSites\Sainsburys\Website\web.config' is denied - although its not denied for read as its reading my db settings fine

BUT if I press the Return to Site - I can (not always) get past this and then get : The stored procedure 'dbo.js_GetPortalAliasByPortalID' doesn't exist

It has accessed my database and added 3 SP's plus one Table - all using my configured qualifier (js).

I have cleaned out the folder and tried a few times with 4.7.7 and 4.6.2.

I have deleted and recreated the database as well.

 

Anyone got an idea what is going on here please ??. Normally takes me about 10 minutes to deploy a new DNN but this time I'm well stuck :-((.

NB DotNet2 is as pre-installed with the OS and is at SP1 - in case this makes any odds - although dll versions report as 50727.1433 on this machine and a sister machine which has been working for months - but probably started out below 4.6.2 originally.

Yes I have also ensured that the IIS setting calls for asp.net 2.0.50727.

Short on ideas now :-O

Thanks - hopefully

 

Graham

 

 
New Post
1/6/2008 12:45 AM
 

The NetworkService account also needs write access, since up updates some keys in the web.config.  Make sure the permissions for the NetworkService account was propogate to all sub-directories and files under the root and sub-directories.  I have seen instances where permissions have not propogate correctly.

 
New Post
1/6/2008 9:14 PM
 

I have the same issue and symptoms.  The networkservice account and the iusr_Hostname account have been granted perms, as per install doc and verified for all files and subdirs.  The machine is not in a domain and anonymous access is enabled on the web site.  This is a Win2k3 Enterprise / SP2 machine.  DNN is (trying to be) installed into a virtual folder under a regular web site.  At one point I still had web.config opened in an editor and tried the install.  The editor reported that web.config had been changed since loaded so the file is modified.

Remote attempts to install yield the "web.config perm issue".  The local server attempts give the The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.  The 3 stored procs I get installed are FindDatabaseVersion, GetDatabaseVersion and UpdateDatabaseVersion.

Other version info: DNN 4.08; Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Thanks for any help on this one!

 
New Post
1/12/2008 1:57 AM
 

Dale,

What user is the dbowner of the database?  What user do you have set to the dbowner setting in the SQLDataProvider?  What permissions does the user have that you are accessing the site with?

 
New Post
2/17/2008 12:18 PM
 

Did you solve this issue?

I am having the same problem on my XP DEV BOX

I have full permissions set on everything in sight... ??

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Access denied web.configAccess denied web.config


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