error in opening the webpage

  • Thread starter Thread starter Claudia Fong
  • Start date Start date
C

Claudia Fong

HI I got this error after creating a virtual directory in my pc and
tried to open the webpage...

Server Error in '/webpda' Application.
------------------------------------------------------------------------
--------

Access denied to 'C:\WebApp\'. 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:\WebApp\'. 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:\WebApp\'. Failed to
start monitoring file changes.]
System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String
dir, Boolean watchSubtree, UInt32 notifyFilter) +139
System.Web.DirectoryMonitor.StartMonitoring() +42
System.Web.DirectoryMonitor.StartMonitoringFile(String file,
FileChangeEventHandler callback, String alias) +154

System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirec
tory(String dir, FileChangeEventHandler callback) +278
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +331

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


Does someone know why?

Cheers!

Claudi
 
Back
Top