Bootstrap: error retrieving glyphicons-halflings-regular.woff2


One of the most reoccurring issue for the websites using bootstrap theme is “error retrieving glyphicons-halflings-regular.woff2”, Usually it has two occurrence scenarios

  1. We encounter this error from successful AJAX call


2. Some times it is reported as glyphicons-halflings-regular.woff2 not found although it is included in project at exact location



Add below code in your web project web.config file (system.webServer > staticContent >)

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s