Note: This is not the same error in the Knowledge base.
This says FILE changes, not directory changes. This is
the error I get when I try loading sample .aspx pages.
What am I missing? What am I doing wrong?


Server Error in '/Test' Application.
----------------------------------------------------------
----------------------

Access denied to 'c:\inetpub\wwwroot\web.config'. Failed
to start monitoring file changes.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and
where it originated in the code.

Exception Details: System.Web.HttpException: Access
denied to 'c:\inetpub\wwwroot\web.config'. Failed to
start monitoring file changes.

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.

Stack Trace:


[HttpException (0x80070005): Access denied
to 'c:\inetpub\wwwroot\web.config'. Failed to start
monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String
file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(St ring
file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringFile
(String alias, FileChangeEventHandler callback) +322

System.Web.Configuration.HttpConfigurationSystem.A ddFileDe
pendency(String file) +139

System.Web.Configuration.HttpConfigurationSystem.C omposeCo
nfig(String reqPath, IHttpMapPath configmap) +502
System.Web.HttpContext.GetCompleteConfigRecord(Str ing
reqpath, IHttpMapPath configmap) +437
System.Web.HttpContext.GetCompleteConfig() +50
System.Web.HttpContext.GetConfig(String name) +197
System.Web.CustomErrors.GetSettings(HttpContext
context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Excepti on
e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerReq uest
wr, HttpContext context, Exception e) +480




----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573