Problem:

When you request dynamic content such as an Active Server Pages (ASP) page, ASP.NET page, Internet Services API (ISAPI) application, or Common Gateway Interface (CGI) application on a Microsoft Windows Server 2003 server with Internet Information Services (IIS) 6.0, you get one of the following error messages: 
  • HTTP Error 404 - File Not Found

    -or- 

  • HTTP Error 404 - File or Directory not found 
 

Solution:

By default, when IIS is installed on any version of Windows Server 2003, IIS only serves static content (HTML). To permit IIS to serve dynamic content, the administrator must unlock this content in the Web service extensions node in IIS Manager. To do this, either enable a pre-existing web service extension or add a new web service extension.
 
To enable a pre-existing web service extension in IIS 6.0 to permit IIS to serve content that requires a specific ISAPI or CGI extension that is already listed in Web service extensions
  1. In IIS Manager, expand the master server (Servername) node and choose Web service extensions
  2. In the right pane of IIS Manager, right-click the extension that you want to enable.

    For example: Unknown CGI Extensions

  3. Click to check Allow.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016