Archive

Posts Tagged ‘MIME error’

HTTP Error 404.3 – Not Found The page you are requesting cannot be served because of the extension configuration.

April 21, 2015 Leave a comment

Resolve this MIME issue by adding the extension in web.config


<configuration>
 <system.web>
 <compilation debug="true" targetFramework="4.0" />
 </system.web>
 
 <system.webServer>
 <staticContent>
 <remove fileExtension=".json" />
 <mimeMap fileExtension=".json" mimeType="application/json" />
 </staticContent>
 </system.webServer>

</configuration>

Advertisements
Categories: ASP.NET Tags: , ,