|
| access to web.config denied |
 |
Fri, 28 Mar 2008 15:24:06 +000 |
Good day,
I am having difficulty with getting my web server going.
First, let me provide a brief overview of my dev setup, then I'll provide
details of my headache:
Windows XP [Visual Studio 2008 installed here]; not part of the problem, listing
it for completeness' sake
VMWare on different disk partition; network access => NAT ; also irrelevant
[I hope]
On this virtual workstation, I have Windows Server 2003[latest updates ok]
installed and IIS6
On same workstation, I installed .NET 3.5 framework
in IIS under Web Service Extensions, I set Status = Allowed for ASP.NET v2.0
My website resides in the C:\Inetpub\wwwroot folder
The default page is Default.aspx [very similar to the Hello World page - no
frills]
Relevant permissions for this folder have been set as follows: NETWORK SERVICE
[read & Execute, List Folder Contents, Read = ALLOW]
When I try to view my site locally [localhost or 127.0.0.1], I get the following
error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details below
and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Access to
the path 'c:\inetpub\wwwroot\web.config' is denied.
Source Error:
[No relevant source lines]
Source File: c:\inetpub\wwwroot\web.config Line: 0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET
Version:2.0.50727.1433
Can anyone help me out here?
Truly Yours,
MizPippz
|
| Post Reply
|
| Re: access to web.config denied |
 |
Fri, 28 Mar 2008 15:28:36 +000 |
Check NTFS permissions for the NETWORK SERVICE account on the web.config file
and the \wwwroot folder.
Jeff
|
| Post Reply
|
| Re: access to web.config denied |
 |
Fri, 28 Mar 2008 16:04:42 +000 |
Ok, that wasn't the issue.... but your reply gave me some insight as to where
the problem lay.
Upon implementing your suggestion, the actual page Default.aspx did not have the
proper permissions. This told me that there was something awry with the wwwroot
folder.
Under the Security Tab, I clicked on the Advanced option. There I checked off
the box: Replace permission entries on all child objects with entires shown
here....
Problem solved. :)
Thank you for your quick response.
Cheers,
MizPippz
|
| Post Reply
|
|
|
|
|
|
|
|
|
|