Access denied to inetpub/wwwroot/web.config
Moderator: SourceGear
Access denied to inetpub/wwwroot/web.config
Hello,
suddenly, when I connect from the server to http://<server>/VaultService/VaultService.asmx
there's error message "unhandled exception" with the following stack:
=====================
HttpException (0x80070005): Access denied to 'f:\inetpub\wwwroot\web.config'. Failed to start monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringFile(String alias, FileChangeEventHandler callback) +322
System.Web.Configuration.HttpConfigurationSystem.AddFileDependency(String file) +139
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +560
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +480
=====================
Note that it looks for web.config not in the vault directory, but in the root directory, where it is absent.
Admin and client don't work either.
It was in Vault 3.01; I used this as an opportunity to upgrade the server to 3.02; successful installation with all default responses; but the problem did not go away.
suddenly, when I connect from the server to http://<server>/VaultService/VaultService.asmx
there's error message "unhandled exception" with the following stack:
=====================
HttpException (0x80070005): Access denied to 'f:\inetpub\wwwroot\web.config'. Failed to start monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringFile(String alias, FileChangeEventHandler callback) +322
System.Web.Configuration.HttpConfigurationSystem.AddFileDependency(String file) +139
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +560
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +480
=====================
Note that it looks for web.config not in the vault directory, but in the root directory, where it is absent.
Admin and client don't work either.
It was in Vault 3.01; I used this as an opportunity to upgrade the server to 3.02; successful installation with all default responses; but the problem did not go away.
Vadim Rapp
Re: Access denied to inetpub/wwwroot/web.config
vrapp wrote:Hello,
suddenly, when I connect from the server to http://<server>/VaultService/VaultService.asmx
there's error message "unhandled exception" with the following stack:
=====================
HttpException (0x80070005): Access denied to 'f:\inetpub\wwwroot\web.config'. Failed to start monitoring file changes.]
System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
System.Web.FileChangesMonitor.StartMonitoringFile(String alias, FileChangeEventHandler callback) +322
System.Web.Configuration.HttpConfigurationSystem.AddFileDependency(String file) +139
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +560
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +480
=====================
Note that it looks for web.config not in the vault directory, but in the root directory, where it is absent.
Admin and client don't work either.
It was in Vault 3.01; I used this as an opportunity to upgrade the server to 3.02; successful installation with all default responses; but the problem did not go away.