HTTP error 404.15-not The Found request filtering module is configured to reject requests that contain too long query strings (the query conditions are too great for error because IIS 7 has a length limit for query string.) Default is 2048)

Source: Internet
Author: User

The error message is as follows:

TTP Error 404.15-not Found
The request filtering module is configured to reject requests that contain too long query strings.

? Request filtering on the WEB server is configured to reject the request because the query string is too long.
actions you can try:
? Confirm that the ApplicationHost.config or Web. config fileconfiguration/system.webserver/security/requestfiltering/[email protected] settings.
links and more information This is a security feature. Do not change this feature unless you fully understand the scope of the change. You can configure the IIS server to reject requests that have a query string that is longer than the specified value. This error is returned if the requested query string is larger than the configured value. If you need to increase the allowable length of the query string, modify theconfiguration/system.webserver/security/requestfiltering/[email protected] settings.

1. In the project's Web. config, add the following configuration under the,<system.webserver> path:


[XML]View Source code copy Print
  1. < span class= "tag" style= "margin:0px; padding:0px; Border:none; Color:blue; Word-wrap:break-word; Font-weight:bold; Background-color:inherit; " >< security >,
  2. <requestfiltering >
  3. <requestlimits maxquerystring="4080" />  
  4. & Nbsp;     </ requestfiltering >,
  5. </security >


For already set, you can modify the size of the maxquerystring

2, for all projects to apply this configuration, C:\Windows\System32\inetsrv\config Locate the ApplicationHost.config file and add the following configuration under the,<system.webserver> path: Add the following configuration:


[XML]View Source code copy Print
  1. < span class= "tag" style= "margin:0px; padding:0px; Border:none; Color:blue; Word-wrap:break-word; Font-weight:bold; Background-color:inherit; " >< security >,
  2. <requestfiltering >
  3. <requestlimits maxquerystring="4080" />  
  4. & Nbsp;     </ requestfiltering >,
  5. </security >


For already set, you can modify the size of the maxquerystring


Source: >  

From for notes (Wiz)

HTTP error 404.15-not The Found request filtering module is configured to reject requests that contain too long query strings (the query conditions are too great for error because IIS 7 has a length limit for query string.) Default is 2048)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.