版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wzl505/article/details/81866470
1、Web 服务器上的请求筛选被配置为拒绝该请求,因为查询字符串过长。
修改IIS的applicationhost.config
文件位置: %windir%/system32/inetsrv/config/applicationhost.config
或
%windir%\system32\inetsrv\config\applicationhost.config
找到<requestFiltering>节点,该节点下默认没有<requestLimits maxAllowedContentLength="上传大小的值(单位:byte)" /> 元素。为这个节点添加如下元素:(上传的大小将改为2G)
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="10240" />
2、asp无法上传图片:修改上传文件中的日期格式。(2003的日期格式是“2018-1-1”,2008 r2的日期格式是“2018/1/1”)
3、asp无法上传文件:原因是asp采用无组件上传类,因此需要安装adobe flash player。