Ensuring the maxURL request filter is configured

The maxURL attribute of the <requestLimits> property is the maximum length (in Bytes) of a requested URL (excluding query string) that the IIS can accept. Configuring this request filter enables the administrators to restrict the length of the requests that the server accepts. It is recommended that a limit must be set for the length of URL.
  1. Access the Internet Information Services (IIS) Manager.
  2. Click on the connection, the site, the application, or the directory to be configured, in the Connections section.
  3. Double-click the Request Filtering option in the Home section.
  4. Click the Edit Feature Settings, in the Actions section.
  5. Specify the value 4096 as the maximum URL length in bytes in the Request Limits section. The specified value is tested with the web applications.