I developed a single plain text webPage with VB2005 I selected "Local IIS" , location HTTP and option creat a "new webapplication" System: XP IIS 5.1 Microsoft .NET Framework Version:2.0.50727.42 ASP.NET Version:2.0.50727.42 when I try to run page from IIS
folder the following error shows up: Server Error in '/Web1' 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: Failed to start monitoring changes to 'c:\inetpub\wwwroot\web.config' because access 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.42; ASP.NET Version:2.0.50727.42
The application is the following subfolder: C:\Inetpub\wwwroot\Web2 Web2 folder has read and write access for all users , web sharing option is enable.
I think you have a problem in the application path because the error message showing in correct path
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to
'c:\inetpub\wwwroot\web.config' because access is denied
Hosam Kamel Remember to click on Mark as answer on the post that helped you
Marked as answer by Figo Fei - MSFT on Aug 05, 2008 04:22 AM
so as to let the ASP.NET worker process running under the local system
account(which has the most powerful permission and privileges on local
system...)
5) Restart IIS through "iisreset" command
Then, test your asp.net 4.0 applicaiton again to see whether it can
works......
CarlosVB
Member
1 Points
3 Posts
Failed to start monitoring changes to web.config because access is denied.
Jul 30, 2008 07:29 PM|LINK
HosamKamel
Star
9551 Points
1391 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Jul 31, 2008 08:46 AM|LINK
Is your application exists in this path c:\inetpub\wwwroot\web.config direct or it's included in subfolder ?
Remember to click on Mark as answer on the post that helped you
CarlosVB
Member
1 Points
3 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Aug 04, 2008 01:48 PM|LINK
HosamKamel
Star
9551 Points
1391 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Aug 04, 2008 01:50 PM|LINK
I think you have a problem in the application path because the error message showing in correct path
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'c:\inetpub\wwwroot\web.config' because access is denied
Remember to click on Mark as answer on the post that helped you
CarlosVB
Member
1 Points
3 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Aug 04, 2008 02:06 PM|LINK
john karner
Member
2 Points
4 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Oct 20, 2011 09:09 AM|LINK
Need to give the all permissions to the web.config file, check this link
1) http://blog.crowe.co.nz/archive/2005/08/30/242.aspx in this page u have see the fig: web.config1 properties. do the permissions in admin level.
2) check the C drive: right click on Inetpub --> go to the Properties --> Select the tab Securities--> give the all permissions.
3) locate the machine.config file under your .NET framework 4.0's intalling
folder like:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\CONF IG
4) Open the machine.config file and find the <processModel> element, by
default it is configured as:
<processModel autoConfig="true" />
, we need to change it to below:
<processModel autoConfig="true" userName="System"/>
so as to let the ASP.NET worker process running under the local system
account(which has the most powerful permission and privileges on local
system...)
5) Restart IIS through "iisreset" command
Then, test your asp.net 4.0 applicaiton again to see whether it can
works......
kattyjems
Member
120 Points
50 Posts
Re: Failed to start monitoring changes to web.config because access is denied.
Mar 01, 2012 04:20 AM|LINK
Hi,
Your Web.Config File should be in correct folder.
You have not placed your application in seperate folder.