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

  • A+
所属分类:技术杂谈

1、在程序的web.config 中system.web 节点 里面插入 

<httpRuntime maxRequestLength="999999999" maxQueryStringLength="2097151" />

 代码

2、

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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: