Missing MIME types in IIS

When working with web applications that uses IIS you might see the following error in the console window for your web browser.

image

Since we are using custom typefaces on our website we need to provide several different fonts to target different devices and platforms. It’s quite common that a client wants to have their own custom font to be used in headings and teasers on their website.

The problem above is because of a missing MIME type mapping in IIS on the web server. The solution is to add the corresponding MIME type extension in the list of supported MIME types. In this case we needed to add the MIME type “application/x-woff” to the extension “.woff”.

image

Problem solved!

Read more:

Advertisements