IIS7 HTTP Status Codes

HTTP 错误 404.13 - Not Found
请求筛选模块被配置为拒绝超过请求内容长度的请求。

HTTP 错误500.19 -Internal Server Error 错误代码 0x80070021
2009-05-08 13:45
错误摘要

HTTP 错误500.19 -Internal Server Error

无法访问请求的页面,因为该页的相关配置数据无效。

 

当时遇到这个问题是因为在applicationHost.config中设置了

<section name="access" overrideModeDefault="Deny" />

而在<access SslFlags=”None” />这时候在下一层配置文件web.confg中设置的

<security>
            <access sslFlags="None" />
        </security>

将无效。因为设置了Deny,所以不允许在web.config中设置如上字段。

 

Solution: 将overrideModeDefault设置为Allow. 或:在applicationHost.config中设置sslFlag为Ssl。

 

另有一问题:

HTTP 错误 404.13 - Not Found
请求筛选模块被配置为拒绝超过请求内容长度的请求。

Web 服务器上的请求筛选被配置为拒绝该请求,因为内容长度超过配置的值。
可尝试的操作:
确认 applicationhost.config 或 web.config 文件中的 configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength 设置。

该问题发生在KB模块,当上传超过20MB的文件时,没有提示错误信息而是直接转到404.13错误。

经检查,applicationhost.config 或web.confg中均无requestLimits字段。

<httpRuntime maxRequestLength="20480" appRequestQueueLimit="100" useFullyQualifiedRedirectUrl="true" executionTimeout="120" />

最后无法找到原因。

 

更多HTTP Status Code请参照:http://support.microsoft.com/kb/943891

posted @ 2010-03-03 18:53  Comm100 Testers  阅读(1047)  评论(0编辑  收藏  举报