I just installed my ASP.NET app on a Win 2k server. I installed the files in
a folder on D: and setup a virtual directory in IIS Default web.
We had to install the Framework 1.1 and SP on this computer.When I attempt
to run this app I get the error mentioned above. I granted ASPNET access to
the folder on D: with Read & Execute, List Folder Contents and Read
permissions. The Direcory Security for this app is set as Anonymous access,
User name: ASPNET, Allow IIS to control password and Integrated Windows
authentication. The app itself uses Forms authenification .
This app runs fine on a Win 2003 server.
Here is the full error received when attempting to run from localhost on the
Win 2k box:
Access denied to 'c:\inetpub'. 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.Http Exception: Access denied to 'c:\inetpub'.
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'. Failed to start
monitoring file changes.]
System.Web.File ChangesMonitor. FindDirectoryMo nitor(String dir, Boolean
addIfNotFound, Boolean throwOnError) +527
System.Web.File ChangesMonitor. StartMonitoring Path(String alias,
FileChangeEvent Handler callback) +477
System.Web.Cach ing.CacheDepend ency.Init(Boole an isPublic, Boolean
isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency
dependency, DateTime utcStart) +1535
System.Web.Cach ing.CacheDepend ency..ctor(Bool ean isSensitive, String[]
filenames, DateTime utcStart) +50
System.Web.Conf iguration.HttpC onfigurationSys tem.GetCacheDep endencies(Hasht able
cachedeps, DateTime utcStart) +154
System.Web.Conf iguration.HttpC onfigurationSys tem.ComposeConf ig(String
reqPath, IHttpMapPath configmap) +697
System.Web.Http Context.GetComp leteConfigRecor d(String reqpath,
IHttpMapPath configmap) +434
System.Web.Http Context.GetComp leteConfig() +48
System.Web.Http Context.GetConf ig(String name) +195
System.Web.Cust omErrors.GetSet tings(HttpConte xt context, Boolean
canThrow) +20
System.Web.Http Response.Report RuntimeError(Ex ception e, Boolean canThrow)
+40
System.Web.Http Runtime.FinishR equest(HttpWork erRequest wr, HttpContext
context, Exception e) +480
Thanks in advance......