You are currently offline, waiting for your internet to reconnect

Error message when you try to visit a Web page that is hosted on a computer that is running IIS 7.0: "HTTP Error 404.2 – Not Found"

Symptoms
When you try to visit a Web page that is hosted on a computer that is running Internet Information Services (IIS) 7.0, you may receive the following error message:
Server Error in Application "application name"
HTTP Error 404.2 – Not Found
HRESULT: 0x800704ec
Description of HRESULT: The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.
Cause
This issue occurs because the requested Internet Server API (ISAPI) resource or the requested Common Gateway Interface (CGI) resource is restricted on the computer that is running IIS 7.0.
Resolution
To resolve this issue, configure the restriction on the ISAPI and CGI Restrictions page to allow the requested ISAPI resource or the requested CGI resource. To do this, follow these steps:
  1. Click Start, type Inetmgr in the Start Search box, and then click Inetmgr in the Programs list.

    If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
  2. Locate the level that you want to configure.
  3. In Features view, double-click ISAPI and CGI Restrictions.
  4. Right-click the restriction that restricts the requested ISAPI resource or the requested CGI resource, and then click Allow.
Properties

Article ID: 942040 - Last Review: 06/21/2014 13:53:00 - Revision: 2.0

Microsoft Internet Information Services 7.0

  • kbexpertiseadvanced kbtshoot kberrmsg kbprb KB942040
Feedback
t('meta');m.name='ms.dqp0';m.content='true';document.getElementsByTagName('head')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> ody>