Access denied to 'c:\inetpub\wwwroot\VaraibleEditor\'. Failed to start monitoring file changes.

Posted on 2004-09-08
Last Modified: 2008-01-09
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!
Question by:Wonderflub
  • 3
  • 3

Expert Comment

ID: 12012952
Make that "VaraibleEditor" as application type thru IIS Management Console. It will work.

LVL 31

Expert Comment

ID: 12013546
Do you mean VaraibleEditor, or do you mean VariableEditor?

Author Comment

ID: 12019095
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.
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

LVL 31

Expert Comment

ID: 12019223

Author Comment

ID: 12019878
I am not running server 2k3 tho I am running XP.  I have tried absolutely everything and nothing is working...........   Arrrrggggggggggggg!
LVL 31

Accepted Solution

moorhouselondon earned 500 total points
ID: 12020550
This link is relevant to XP

The problem is defintely to do with User Permissions;EN-US;316721

Author Comment

ID: 12021942
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!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is about my first experience with programming Arduino.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question