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

修改IIS的 applicationhost.config

1.文件位置: %windir%/system32/inetsrv/config/applicationhost.config

2.找到<requestFiltering>节点,该节点下默认没有 <requestLimits maxAllowedContentLength="上传大小的值(单位:byte)" /> 元素。

3.为这个节点添加如下元素:<requestLimits maxAllowedContentLength="2147483647" /> (上传的大小将改为2G)

posted @ 2015-09-10 13:45  lishidefengchen  阅读(1925)  评论(0编辑  收藏  举报