How to solve glyphicons-halflings-regular.woff2 Err_Aborted issue in ASP.Net MVC 5

I have downloaded the missing files from here and added those in fonts folder of my project.

Then added these lines within <system.webServer> section in web.config file of my project:

<staticContent>
  <remove fileExtension=".woff" />
  <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
  <remove fileExtension=".woff2" />
  <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
</staticContent>

In your case, download glyphicons-halflings-regular.woff2 file.


As an alternate to Reyan Chougle's answer, this can also be fixed through IIS:

  1. Open IIS, click on your site.

Step 1

  1. In the middle section, under the grouping IIS, double-click MIME Types

Step 2

  1. Edit or add woff and/or woff2 extensions:
    • .woff -> application/x-font-woff
    • .woff2 -> application/font-woff2

Step 4

NOTE: Tested on IIS 8.5 in the Chrome web browser