错误提示如下:

此请求的查询字符串的长度超过配置的 maxQueryStringLength 值。

 此请求的查询字符串的长度超过配置的 maxQueryStringLength 值。

错误原因:iis默认限制了get提交参数的字符长度。

解决方法:在应用程序根目录下放置web.config文件,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.web>
    	<httpRuntime maxRequestLength="999999999" maxQueryStringLength="2097151" />
    </system.web>
</configuration>

 

相关文章:

  • 2018-12-03
  • 2021-08-11
  • 2022-01-16
  • 2021-10-13
猜你喜欢
  • 2021-08-13
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案