Article ID: 315122 - Last Review: December 3, 2007 - Revision: 8.7 "HTTP Error 404 - File or Directory not found" error message when you request dynamic content with IIS 6.0This article was previously published under Q315122 SYMPTOMSWhen you request dynamic content such as an Active Server Pages (ASP) page, an ASP.NET page, an Internet Services API (ISAPI) application, or a Common Gateway Interface (CGI) application on a Microsoft Windows Server 2003 server that is running Internet Information Services (IIS) 6.0, you may receive one of the following error messages:
Error message 1 HTTP Error 404 - File Not Found Error message 2 HTTP Error 404- File or Directory not found
CAUSEBy default, when IIS is installed on any version of the Windows Server 2003 family, IIS only serves static content (HTML). RESOLUTIONWarning Enable dynamic content when you really want to use it. By default, IIS disables dynamic content for security reasons.
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, the administrator must either enable a pre-existing Web service extension or add a new Web service extension. 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 the Web service extensions list, follow these steps:
To permit IIS to serve content that requires a specific ISAPI or CGI extension that is not already listed in the Web service extensions list, follow these steps:
For CGI applications, you must also follow these steps:
STATUS
This behavior is by design. REFERENCESFor more information about Web service extensions, search
for "Enabling and Disabling Dynamic Content" in the IIS 6.0 Help documentation. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 332124
(http://support.microsoft.com/kb/332124/
)
ASP.NET is not automatically installed on Windows Server 2003
APPLIES TO
| Article Translations
|
Back to the top
