Wednesday, April 23, 2014

iis Express : jquery getjson 404 Not found OR The page you are requesting cannot be served because of the extension configuration

iis Express : jquery getjson 404 Not found OR The page you are requesting cannot be served because of the extension configuration


Solution :
1- Right Click 0n iis Express -> Show All applications -> click your app
2- find the path of iis Express configuration file  something like -> C:\Users\<>\Documents\IISExpress\config\applicationhost.config


 3-  Inside : <staticContent> Tag -> Add :  <mimeMap fileExtension=".json" mimeType="application/json" />

4- Restart your IIS Express

naadydev@gmail.com
             

No comments: