IIS 7.5 HTTP 500.19内部服务器错误配置无效

Kit*_*Kit 7 iis-7.5

我使用Windows 2008 R2与IIS 7.5,并已将我的网站的源映射到网络驱动器.当我这样做时,会发生以下错误.当指向本地c:驱动器时,网站正常工作.

Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module  IIS Web Core
Notification    Unknown
Handler Not yet determined
Error Code  0x80070003
Config Error    Cannot read configuration file
Config File \\?\H:\ExcelAutomation\1.0\src\docs\web.config
Requested URL   http://vmwws085381.msad.ms.com:80/index.html
Physical Path   
Logon Method    Not yet determined
Logon User  Not yet determined

Config Source
   -1: 
    0: 
Run Code Online (Sandbox Code Playgroud)

Kit*_*Kit 11

我的解决方案是打开IIS,单击我的站点,然后在"高级设置"下更改网络共享的物理路径,\\server\share\..而不是使用映射的驱动器.

帮助我找到此解决方案的原始来源是:http://forums.iis.net/t/1157959.aspx

  • 在我的盒子上有类似500错误的完全相反的问题...没有意识到我将网络共享定位到同一服务器上的物理路径,移动到物理路径并且它为我修复了...永远地意识到>.< (2认同)

Kev*_*ann 6

另一个原因是,如果您的Web应用程序在关联的Web.config文件中引用了此URL,则不会安装URL重写模块 - 这在此Stack Overflow问题中有详细说明