IIS 配置详解 请求长度限制调整
修改服务所在目录下的Web.config文件
1、configuration/system.web/httpRuntime@maxQueryStringLength 设置为"2097151"
如:<httpRuntime maxRequestLength="1073741824" executionTimeout="60000" maxQueryStringLength="2097151"/>
2、 configuration/system.webServer/security/requestFiltering/requestLimits@maxQueryString ="2097151"
如:
<security>
<requestFiltering>
<requestLimits maxUrl="10999" maxQueryString="2097151" />
</requestFiltering>
</security>