I am getting this error:
The length of the URL for this request exceeds the configured maxUrlLength value.
Looking around the
In my case, I edited the setting visually in the IIS application (Request Filtering area):
This action modified my web.config as follows:
As was mentioned in some of the other answers, be sure to also consider long query strings in the request.