解决请求筛选模块被配置为拒绝包含的查询字符串过长的请求

※ 、遇到这样的问题第一想的就是怎么设置ajax 或者想怎么拆分字符串

 今天在这里呢分享给大家一个简单的方法希望能帮助各位

  1、在程序的web.config 中system.web 节点 里面插入 <httpRuntime maxRequestLength="999999999" maxQueryStringLength="2097151" />  

  2、在程序的web.config 中sconfiguration 节点 里面插入

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647"/>
      </requestFiltering>
    </security>
  </system.webServer>

    只需轻松两步解决烦恼

原文地址:https://www.cnblogs.com/520lw/p/10057109.html