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

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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