Error message when you visit a Web site that is hosted on a server that is running IIS 7.0: "HTTP Error 404.15 – Not Found"

Article translations Article translations
Article ID: 942071 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You have a Web site that is hosted on a server that is running Internet Information Services (IIS) 7.0. When you visit this Web site in a Web browser, you may receive an error message that resembles the following error message:
Server Error in Application "application name"
HTTP Error 404.15 – Not Found
HRESULT: 0
Description of HRESULT # The operation completed successfully.

CAUSE

This problem occurs because the query string length of the requested URL is longer than the length that is specified in the maxQueryString property in the ApplicationHost.config file.

Note The maxQueryString property is under the requestLimits node, which is under the requestFiltering node.

RESOLUTION

To resolve this problem, follow these steps:
  1. Click Start, type Notepad in the Start Search box, right-click Notepad, and then click Run as administrator.

    Note If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  2. On the File menu, click Open, type %windir%\System32\inetsrv\config\applicationHost.config in the File name box, and then click Open.
  3. In the ApplicationHost.config file, locate the requestLimits tag.
  4. Remove the maxQueryString property. Or, change the value to a value that matches the length of the query string that you are using. By default, the value of the maxQueryString property is 2048.

    For example, modify the following code.
    <requestLimits maxQueryString="length" />
    
  5. Save the ApplicationHost.config file.

Properties

Article ID: 942071 - Last Review: October 9, 2007 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB942071

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com