Thursday, July 18, 2013

System.Web.HttpException: The length of the query string for this request exceeds the configured maxQueryStringLength value

By default, the query string lengths was set to 2048 characters. To change the query strings length, modify the maxQueryStringLength attribute in httpRuntime.
It will be in the web.config file. <system.web> <httpRuntime /> </system.web>
<httpRuntime maxRequestPathLength="260" maxQueryStringLength="2048" />


No comments:

Post a Comment

Please include your thoughts/suggestion to make it as a better blog. If you find it useful, Please update with your valuable comments, so that others can use it.