title: IIS 7 and font awesome .woff 404 error
body: <p>I'm getting a 404 error when trying to load <code>.woff</code>, <code>.woff2</code>, and <code>.ttf</code> files in my MVC 5 application. Following the guidance of this <a href="https://stackoverflow.com/questions/29312063/font-awesome-error-404-on-fonts">post</a> in which I have the same error, nothing seems to be working for me. Below is the following is what I currently have:</p>
  
  <p>In my web config file</p>
  
  <pre><code>  &lt;system.webServer&gt;
      ...
      &lt;staticContent&gt;
        &lt;remove fileExtension=".woff" /&gt;
        &lt;mimeMap fileExtension=".woff" mimeType="font/x-woff" /&gt;
        &lt;remove fileExtension=".woff2" /&gt;
        &lt;mimeMap fileExtension=".woff2" mimeType="font/x-woff2" /&gt;
        &lt;remove fileExtension=".ttf" /&gt;
        &lt;mimeMap fileExtension=".ttf" mimeType="font/x-ttf" /&gt;
      &lt;/staticContent&gt; 
    &lt;/system.webServer&gt;
  </code></pre>
  
  <p>In IIS, I did the following steps:</p>
  
  <ol>
  <li>Under connections, select MIME Types</li>
  <li>Right Click and select "Add..."</li>
  <li>For each file type, File name extension: <code>.woff</code> MIME type: <code>font/x-woff</code></li>
  </ol>
  
  <p>The error happens in both IE 11 and Chrome. Please help on how I can correct this.</p>