One, Windows XP
1. MIME settings:
In the HTTP header settings for the IIS site Properties, click "File Type"-"new Type" in the MIME map to add a file type:
Association extension: *. JSON
Content Type (MIME): Application/x-javascript
2. Script Map Handler settings:
Or in the site properties of IIS , home directory-Application Settings-configuration-mappings-Add, opens the Settings page for Add/Edit application extension mappings
Extension:. JSON
Run File: C:\WINDOWS\system32\inetsrv\asp.dll
Action: Get,post
3. Save, restart IISand you should be able to access it. If not, please restart the machine to see.
Second, Windows 7
1. Select the site you want to set on the left (Figure 1), select the MIME type in IIS (Figure 2), and double-click Enter.
2, enter after the selection to add (in 1), the Add MIME Type dialog box (2), enter ". JSON" in the file name extension, enter "Text/json" in the MIME type (do not double quotes). Click OK, then restart the website
3. If the above steps do not read the JSON data, then you need to add "handler mapping" in IIS, step
Then you can re-site.
IIS supports parsing JSON