Tuesday, April 16, 2013

IIS7: HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

To solve this error:


HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Follow these steps:


1. Open IIS Manager
2. Display properties for the IIS Server
3. Click MIME Types and then add the JSON extension:
    - File name extension: .json
    - MIME type: application/json
4 . Go back to the properties for IIS Server
5. Click on Handler Mappings
    - Add a script map
    - Request path: *.json
    - Executable: C:\WINDOWS\system32\inetsrv\asp.dll
    - Name: JSON

Reference:
http://www.uipress.com/add-json-handler-support-in-iis-7/#.UW2eibVhUmM

No comments: