"HTTP Error 404.0 - Not Found" error when you open an IIS 7.0 Webpage

This article describes HResult codes when you encounter a 404.0 error on an Internet Information Services (IIS) 7.0 Web application. If the error code you see is in the following list, check out the causes and try the solutions in this article.
"HTTP Error 404.0" error with HResult code 0x80070002

Error message

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.
Possible causesResolutions
The specified directory or file does not exist on the Web server.Make sure that the requested resource is at the location that the URL points to.
The URL contains a typographical error.Review the URL that you open in the Web browser.
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.Make sure that no custom filters or modules restrict access to the file that you want to browse.
"HTTP Error 404.0" error with HResult code 0x8007007e

Error message

Server Error in Application "ApplicationName"
HTTP Error 404.0 - Not Found
HResult: 0x8007007e
Description of HResult: The specified module could not be found.
Possible causeResolution
The requested resource is mapped to a handler component that has dependencies on other files. However, these files are either missing or inaccessible.Make sure that any dependency files that the handler component has dependencies on can be accessed and are in the correct location.

Article ID: 942041 - Last Review: 11/06/2014 09:17:00 - Revision: 6.0

  • Microsoft Internet Information Services 7.0
  • kbexpertiseadvanced kbtshoot kbprb kbconsumer kbquadranttechsupp KB942041