Hi There,
You may try the below steps to add JSON mime type on your IIS Server-
- Go to IIS Manager
- Navigate to your site where Captivate HTML5 output is hosted.
- Select the site and go to MIME types.
- Click on Add under Actions.
- File name extension type would be .json
- MIME type would be application/json
- Click OK
Now, you may also try to open the web.config of the application and disable handler to be get rendered as plain text by doing the below step-
<!--<add name="JSONHandlerFactory" path="*.json" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" /> -->
Once the above step is performed, try to restart IIS by typing “iisreset” in the Run window and then upload the whole project output folder to the site and it should work fine.
Note- You may locate the web.config file either by right click on the site and click on “explore” under IIS Manager or navigate to “C:\inetpub\wwwroot\wss\VirtualDirectories” location manually.
Let me know if you face any issue.
Regards,
Ajit