Request ended: http://localhost:62017/ with HTTP status 500.0
SVG dosyasını görüntülemek istediğimizde aşağıdaki hatayı alıyordum:
Aşağıdaki kodla çözüldü:
. .. ... .... </system.web> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <staticContent> <remove fileExtension=".svg" /> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> </staticContent> </system.webServer> .... ... .. .
Ref:
IIS 7.0: Configuring MIME Types in IIS 7.0
http://www.iis.net/learn/manage/managing-your-configuration-settings/adding-ie-9-mime-types-to-iis
http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx
Hiç yorum yok:
Yorum Gönder