Query string is too long

I configured web.config file but still I got an error:

Request filtering is configured on the Web server to deny the request because the query string is too long.

在这里输入图像描述


maxRequestLength is for file uploads.

Try this instead under the system.web node

<httpRuntime maxUrlLength="1000" maxQueryStringLength="1000" />

你可以这样做来增加限制

 <security >
    <requestFiltering>
      <requestLimits maxAllowedContentLength="[Bytes]" />
    </requestFiltering>
  </security>
链接地址: http://www.djcxy.com/p/7262.html

上一篇: 从控制器传递一个长字符串以查看长URL

下一篇: 查询字符串太长