Answered by:
Failed to start monitoring changes to web.config because access is denied.

Question
-
User-830789927 posted
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.42Wednesday, July 30, 2008 3:29 PM
Answers
-
User1684693608 posted
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
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 4, 2008 9:50 AM
All replies
-
User1684693608 posted
Is your application exists in this path c:\inetpub\wwwroot\web.config direct or it's included in subfolder ?
Thursday, July 31, 2008 4:46 AM -
User-830789927 posted
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.Monday, August 4, 2008 9:48 AM -
User1684693608 posted
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
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 4, 2008 9:50 AM -
User-830789927 posted
You are right , however I got the same error message if I save the application directly on wwwroot folder or inside subfolder web2.Monday, August 4, 2008 10:06 AM -
User217838333 posted
Hi,
Your Web.Config File should be in correct folder.
You have not placed your application in seperate folder.
Thursday, March 1, 2012 12:20 AM -
User-1535033130 posted
It is not problem of application path. It is problem of user credentials configured in the application pool. So please check both app pool account and as well as application path security account.
Tuesday, July 2, 2013 5:52 AM