带冒号字符的unc路径上出现iis 500.19错误

带冒号字符的unc路径上出现iis 500.19错误,iis,unc,Iis,Unc,我在本地磁盘上有一个网站,在unc磁盘上有另一个网站 我在日志上看到了很多错误 我想搜索这个问题 问题是看起来像这样 Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x800700a1 Config Error Cannot read configuration fi

我在本地磁盘上有一个网站,在unc磁盘上有另一个网站 我在日志上看到了很多错误 我想搜索这个问题 问题是看起来像这样

    Detailed Error Information:
Module     IIS Web Core
Notification       BeginRequest
Handler    Not yet determined
Error Code     0x800700a1
Config Error       Cannot read configuration file
Config File    \\?\UNC\NAS1\SharedStorage\WebApplications\Default\www\http:\web.config
Requested URL      http://localhost:80/http:/foo-bar.com
Physical Path      \\NAS1\SharedStorage\WebApplications\Default\www\http:\foo-bar.com
Logon Method       Not yet determined
Logon User     Not yet determined
当我尝试访问本地站点时

我得到一个404未找到错误

但是

当我试图在unc网站上找到它时 我得到一个500.19配置错误,如下所示

    Detailed Error Information:
Module     IIS Web Core
Notification       BeginRequest
Handler    Not yet determined
Error Code     0x800700a1
Config Error       Cannot read configuration file
Config File    \\?\UNC\NAS1\SharedStorage\WebApplications\Default\www\http:\web.config
Requested URL      http://localhost:80/http:/foo-bar.com
Physical Path      \\NAS1\SharedStorage\WebApplications\Default\www\http:\foo-bar.com
Logon Method       Not yet determined
Logon User     Not yet determined
unc站点具有完全权限和管理权限


在我收到此错误之前,iis未开始使用任何模块,因此我无法使用失败的请求跟踪规则

我发现了与我的问题类似的问题,但不是解决方案我使用process monitor跟踪w3wpg,当w3wp询问本地站点中的文件夹www\http:\和www\http:\ web.config时发现了一些问题,但当我尝试使用unc站点时,w3wp询问文件夹www\http:\获取“未找到”和“www\http:\ web.config”获取“路径语法错误”