IIS7 configuration to support JSON:
Using IIS manager: clock on IIS server (the main node on the left - where you see the machine name)
  1. Add ‘json’ MIME Type
  • Double click on ‘MIME Types’ icon
  • Click ‘Add…’ link (under Actions section on the right side)
  • In ‘Add MIME Type’ window type:
File name extension: .json
MIME type: application/json
  • Click OK, You should see the .json MIME Type added to the list of the MIME Types list.
2. Add Script Map Handler for ‘json’ MIME Type
  • Double click on ‘Handler Mappings’ icon
  • Click on ‘Add Script Map…’ link (under Actions section on the right side)
  • In ‘Add Script Map’ window type:
Request path: *.json
Executable: C:\Windows\System32\inetsrv\asp.dll
Name: JSON
  • Click OK (Message box pops up with a message: Do you want to allow this ISAPI extension?...etc ) Click Yes, You should see the .json extension added to the list of the Handler Mappings list