Error message when you try to open a Web page that is hosted on IIS 7.0: "HTTP Error 404.0 - Not Found"

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

On This Page

SYMPTOMS

When you try to open a Web page that is hosted on Internet Information Services (IIS) 7.0, you may receive one of the following error messages:
Error message 1
Server Error in Application "ApplicationName"

HTTP Error 404.0 - Not Found

HResult: 0x80070002

Description of HResult: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Error message 2
Server Error in Application "ApplicationName"

HTTP Error 404.0 - Not Found

HResult: 0x8007007e

Description of HResult: The specified module could not be found.

CAUSE

Error message 1

This problem occurs for one or more of the following reasons:
  • The specified directory or file does not exist on the Web server.
  • The URL contains a typographical error.
  • A custom filter or a custom module restricts access to the file. The filter or the module sends the "HTTP Error 404.0" error message back to the client as a response.

Error message 2

This problem occurs because the requested resource is mapped to a handler component that has dependencies on other files. However, these files are either missing or inaccessible.

RESOLUTION

Error message 1

To resolve this problem, use one of the following methods:
  • Make sure that the requested resource is at the location that the URL points to.
  • Review the URL that you open in the Web browser.
  • Make sure that no custom filters or modules restrict access to the file that you want to browse.

Error message 2

To resolve this problem, make sure that any dependency files that the handler component has dependencies on can be accessed and are in the correct location.

Properties

Article ID: 942041 - Last Review: September 25, 2007 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB942041

Give Feedback