点滴积累【other】---HTTP 错误 404.13

此文参考来源:http://blog.csdn.net/tiantian1980/article/details/6577499

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

原因:Web 服务器上的请求筛选被配置为拒绝该请求,因为内容长度超过配置的值。

可尝试的操作:在 applicationhost.config 或 web.config 文件中。

解决方案:

  1. windows+R   然后输入%windir%/system32/inetsrv/config/applicationhost.config  打开.
  2. 在 ApplicationHost.config 文件中,查找<requestlimits></requestlimits>节点。
  3. 修改下面的配置数据,内部的 <requestfiltering> 部分。</requestfiltering>
    <requestLimits maxAllowedContentLength ="<length>" />
    例如:
    <requestLimits maxAllowedContentLength ="4294967295" />  最大只能4G, 字节为单位。


     
原文地址:https://www.cnblogs.com/xinchun/p/4972851.html