ASP.NET The length of the query string for this request exceeds the configured maxQueryStringLength value.

Similar problem happens described by error:

The request filtering module is configured to deny a request where the query string is too long.

Solution, step 1 in web.config:

		<httpRuntime maxQueryStringLength="4096" />

<!-- OR -->

		<httpRuntime maxQueryStringLength="4096" />

Solution, step 2 IIS:
In the Connections pane, go to the connection, site, application, or directory for which you want to modify your request filtering settings.
In the Home pane, double-click Request Filtering.


Click Edit Feature Settings… in the Actions pane.


Specify your options, and then click OK.


Source: Request Limits

Leave a Reply

Your email address will not be published. Required fields are marked *