Error message when users visit a Web site that is hosted on a server that is running Internet Information Services 6.0: "HTTP Error 404.3 - Not Found"
SYMPTOMS
Consider the following scenario. You have a Web site that is hosted on a server that is running Internet Information Services (IIS) 6.0. When users visit this Web site, the users receive the following error message:
HTTP Error 404 - File or directory not found.
In the IIS log file you see an entry like this:
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2007-12-04 15:59:52
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2007-12-04 16:00:29 W3SVC1 127.0.0.1 GET /test.php - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) 404 3 50
CAUSE
This problem occurs if the following conditions are true:
- The file exists in the requested location.
- The extension does not have an Application Mapping configured on the site.
- The appropriate MIME type is not configured for the Web site or for the application.
RESOLUTION
To resolve this problem, follow these steps:
- Configure a handler mapping for the requested file name extension. To do this, follow these steps:
- Click Start, Run. In the Open field type inetmgr then OK.
- In IIS Manager, expand the server, expand Web sites, and then right click the Web site that you want to modify and select Properties.
- On the Home Directory tab click Configuration and configure an appropriate Application Extension for the type of the file that results in the 404.3 error.
- Configure an appropriate MIME type for the Web site. To do this, follow these steps:
- Click Start, Run. In the Open field type inetmgr then OK.
- In IIS Manager, expand the server, expand Web sites, and then right click the Web site that you want to modify and select Properties.
- On the HTTP Headers click MIME Types
- In the MIME Type dialog click New.
- Add the extension of the required file and the MIME type in the MIME Type dialog, and then click OK.