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" />