Microsoft KB Archive/942071

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

Article ID: 942071

Article Last Modified on 10/9/2007

-

APPLIES TO


 * Microsoft Internet Information Services 7.0

-



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 &quot; &quot;

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:  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. On the File menu, click Open, type %windir%\System32\inetsrv\config\applicationHost.config in the File name box, and then click Open. In the ApplicationHost.config file, locate the requestLimits tag.  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.   Save the ApplicationHost.config file.

Keywords: kbexpertiseadvanced kbtshoot kbprb KB942071

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.