Select the product you need help with
PRB: "Failed to Start Monitoring Directory Changes" Error Message When You Browse to ASP.NET PageArticle ID: 316721 - View products that this article applies to. This article was previously published under Q316721 SYMPTOMS When you browse to an ASP.NET (.aspx) page, you may receive
the following error message Access denied to
'C:\Inetpub\Wwwroot' directory. Failed to start monitoring directory changes.
[HttpException (0x80004005): Access denied to 'C:\Inetpub\Wwwroot' directory.Failed to start monitoring directory changes.] System.Web.NativeDirMonCompletion..ctor(String dir, Boolean watchSubtree, Boolean renamesOnly, NativeFileChangeNotification callback) System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback) System.Web.HttpRuntime.StartMonitoringDirectoryRenamesAndBinDirectory() System.Web.HttpRuntime.FirstRequestInit(HttpContext context) [HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) Server cannot access application directory
'C:\Inetpub\Wwwroot\Virtual Directory Name\'. The
directory does not exist or is not accessible because of security settings.
CAUSE
By design, in
Microsoft Windows 2000 and in Microsoft Windows XP, ASP.NET requires read,
execute, and list access for the ASPNET account (the Aspnet_wp.exe process
account) on the root Web site or on any virtual directory. Similarly,
in Microsoft Windows Server 2003, ASP.NET requires read, execute, and list access for the
NETWORK SERVICE account (the W3wp.exe process account) on the root Web site or
on any virtual directory. This is necessary so that
ASP.NET can access the content files and can monitor file changes.
RESOLUTION To add read, execute, and list access for the ASPNET
account on the root Web site or on any virtual directory, follow these steps:
MORE INFORMATION If you receive either of the error messages that are listed
in the "Symptoms" section but your stack trace differs from the stack traces in
the "Symptoms" section, the cause for your error message may be different.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 317955
(http://support.microsoft.com/kb/317955/EN-US/
)
FIX: "Failed to Start Monitoring Directory Changes" Error Message When You Browse to an ASP.NET Page
REFERENCESFor additional information about ASP.NET security
issues on a domain controller, click the article number below to view the
article in the Microsoft Knowledge Base: 315158
(http://support.microsoft.com/kb/315158/EN-US/
)
PRB: ASP.NET Does Not Work with a Non-Administrator Domain Account on a Domain Controller
PropertiesArticle ID: 316721 - Last Review: February 23, 2007 - Revision: 4.8
| Article Translations
|


Back to the top








