1, IIS must turn on ASP support, if your IIS default does not support ASP, then go to the Control Panel-program-Open or close Windows features--internet information Services-World Wide Web services-application development features, select ASP, and then determine.
2, open the ASP support, enter the control Panel-system and security-management tool--internet Information Service Manager, turn on "MIME type". Click Add, extension Write ". JSON" "Do not quote", MIME type write "Application/json" "Do not quote", and then OK.
3. Open "Handler mapping", click "Add script Map", Request path Write "*.json" "Do not quote", executable file "C:\Windows\System32\inetsrv\asp.dll" "Browse window to locate the file", name write "JSON" , then open the request limit--predicate--one of the following predicates, fill in "Get,post" "Do not quote", two times will be prompted after the confirmation, click "Yes", and then restart IIS.
4, through the browser access: Http://localhost/xxx.json, should be able to display the JSON data, if prompted to download, check the above steps for spelling errors, if not, restart the computer, should be able to.
Configure IIS to support parsing. JSON-formatted files (Win7)