日期:2014-05-18  浏览次数:20427 次

我又回来了@_@
我的IIS是5的   .net是2.0的   我做了个程序,建了个虚拟目录,但是错误提示:由于访问被拒绝,未能开始监视对“C:\Inetpub\wwwroot\SupplierInfo\bin”的更改。[HttpException   (0x80070005):   由于访问被拒绝,未能开始监视对“C:\Inetpub\wwwroot\SupplierInfo\bin”的更改。]
      System.Web.DirMonCompletion..ctor(DirectoryMonitor   dirMon,   String   dir,   Boolean   watchSubtree,   UInt32   notifyFilter)   +3521075
      System.Web.DirectoryMonitor.StartMonitoring()   +41
      System.Web.DirectoryMonitor.StartMonitoringFile(String   file,   FileChangeEventHandler   callback,   String   alias)   +144
      System.Web.FileChangesMonitor.ListenToSubdirectoryChanges(String   dirRoot,   String   dirToListenTo)   +245
      System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String   dir,   FileChangeEventHandler   callback)   +526
      System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags   hostingFlags)   +164

[HttpException   (0x80004005):   由于访问被拒绝,未能开始监视对“C:\Inetpub\wwwroot\SupplierInfo\bin”的更改。]
      System.Web.HttpRuntime.FirstRequestInit(HttpContext   context)   +3435007
      System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext   context)   +88
      System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest   wr)   +252


这些错误,在网上找了半天说是什么权限的问题,我已经把能填的用户都添加到了WWWROOT的用户里面了,而且都是最大的权限,但是还是出现这个问题.不知道怎么解决,希望那位大侠能够给点帮助,谢谢了!

------解决方案--------------------
不是吧.

你添加一个everyone用户
权限完全控制也不行?