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.

In this article

Show all imageShow allHide all imageHide all

"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.

Cause

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.

Resolution

To resolve this problem, try one of the following methods according different causes:
  • 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.

"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.

Cause

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

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.

References

Get help with more website error messages (HTTP errors)

About this article

Article ID: 942041
Last review: June 24, 2014
Applies to: Microsoft Internet Information Services 7.0
Would you like to provide feedback on this article?
 

Get more support from smallbusiness.support.microsoft.com

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.