I ran across this problem with an ASP page and found a solution on the Microsoft Support site.
Symptoms:
Active Server Pages (ASP) page, ASP.NET page, Internet Services API (ISAPI) application, or Common Gateway Interface (CGI) application on a Windows Server 2003 server running Internet Information Services (IIS) 6.0, give the following error messages:
- HTTP Error 404 – File Not Found
- HTTP Error 404 – File or Directory not found
Cause:
IIS 6.0 was set to serve only static HTML pages by default on Windows Server 2003
Solution:
Using the IIS manager Allow Active Server Pages under the Web service extensions node.