HTTP错误500.19 - iis的内部服务器错误问题

时间:2015-05-06 05:57:20

标签: iis iis-7 http-error

我从托管网站收到以下错误

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   ProtocolSupportModule 
 Notification SendResponse 
 Handler ExtensionlessUrlHandler-Integrated-4.0 
 Error Code 0x800700b7 
 Config Error Cannot add duplicate collection entry of type 'add' withunique key attribute 'name' set to 'X-UA-Compatible'  
Config File \\?\C:\inetpub\wwwroot\abc\web.config 
Requested URL http://abc:80/Test 
Physical Path C:\inetpub\wwwroot\abc 
Logon Method Not yet determined 
Logon User Not yet determined 
Config Source
 54:            <customHeaders>
 55:                <add name="X-UA-Compatible" value="IE=edge" />
 56:            </customHeaders>

我还在安全性方面向IIS_USR授予了权限,并允许Windows身份验证。有任何想法来解决这个问题

1 个答案:

答案 0 :(得分:1)

您的配置文件中可能包含以下重复项:duplicate collection entry of type 'add' with unique key attribute 'name' set to 'X-UA-Compatible'

在配置文件中搜索“X-UA-Compatible”,并确保只有一个具有此名称的条目。

您可能还想阅读这篇文章:Click Here