title: IIS 500 error - failed to execute URL on .ttf, .svg and .woff font files?
body: <p>I'm trying to deploy a web application which references <a href="http://fortawesome.github.io/Font-Awesome/" rel="nofollow noreferrer">http://fortawesome.github.io/Font-Awesome/</a> </p>
  
  <p>Everything works great locally, but when I deploy I receive several 500 errors.</p>
  
  <pre><code>&gt; GET
  &gt; http://localhost/csweb/Content/font_awesome/font/fontawesome-webfont.ttf
  &gt; 500 (Internal Server Error)
  
  &gt; GET
  &gt; http://localhost/csweb/Content/font_awesome/font/fontawesome-webfont.woff
  &gt; 500 (Internal Server Error)
  
  &gt; GET
  &gt; http://localhost/csweb/Content/font_awesome/font/fontawesome-webfont.svg#fontawesomregular
  &gt; 500 (Internal Server Error)
  </code></pre>
  
  <p>A quick search of StackOverflow lead me to this thread: <a href="https://stackoverflow.com/questions/4015816/why-is-font-face-throwing-a-404-error-on-woff-files">Why is @font-face throwing a 404 error on woff files?</a></p>
  
  <p>as such I added to my web.config file:</p>
  
  <pre><code>&lt;system.webServer&gt;
      &lt;staticContent&gt;
          &lt;mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /&gt;
          &lt;mimeMap fileExtension=".svg" mimeType="image/svg+xml" /&gt;
      &lt;/staticContent&gt;
  ...
  </code></pre>
  
  <p>I see IIS reflecting these changes after calling iisreset, but no effect was seen on the deployed application.</p>
  
  <p>I'm not finding any other obvious answers -- anyone know anything I don't?</p>