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.
with the stack trace:[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)Alternatively, you may receive the following error message
Server cannot access application directory 'C:\Inetpub\Wwwroot\Virtual Directory Name\'. The directory does not exist or is not accessible because of security settings.
with the stack trace: