Access denied to 'c:\inetpub\wwwroot\VaraibleEditor\'. 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\VaraibleEditor\'. 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\VaraibleEditor\'. Failed to start monitoring file changes.]
   System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +140
   System.Web.DirectoryMonitor.StartMonitoring() +42
   System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +154
   System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback) +278
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +331

[HttpException (0x80004005): ASP.NET Initialization Error]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +974
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

when trying to start my application, I get the aforementioned error, please help!
Who is Participating?
moorhouselondonConnect With a Mentor Commented:
This link is relevant to XP

The problem is defintely to do with User Permissions;EN-US;316721
Make that "VaraibleEditor" as application type thru IIS Management Console. It will work.

Do you mean VaraibleEditor, or do you mean VariableEditor?
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

WonderflubAuthor Commented:
It was an application, and it used to work.  I had to use a backed up version to restore after a system crash and now I get that error.  I tried deleting the app in IIS, I tried recreating the application.  Still same error.  Man, this sucks.
WonderflubAuthor Commented:
I am not running server 2k3 tho I am running XP.  I have tried absolutely everything and nothing is working...........   Arrrrggggggggggggg!
WonderflubAuthor Commented:
THANK YOU SO MUCH.  I spent so long trying to fix this..... I of course did everything but check the knowledge base for my error.  My loss is your gain.

THank you sooooo very much!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.