Failed to monitor File Changes--HELP!!!

S

Shawn Jensen

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(String
file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringFile
(String alias, FileChangeEventHandler callback) +322

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

System.Web.Configuration.HttpConfigurationSystem.ComposeCo
nfig(String reqPath, IHttpMapPath configmap) +502
System.Web.HttpContext.GetCompleteConfigRecord(String
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(Exception
e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest
wr, HttpContext context, Exception e) +480
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top