Monday, January 10, 2011

Adding MIME Types in IIS

Our Server Admin took another job so I'm tasked with web server adminstration until someone new can be hired.

I ran into a strange issue today. I tried to link to a .dotx document and got a "Page Cannot be Found" error. The same thing happened when I linked to a .docx, but not when I linked to a .doc. I Googled the problem and came back with this:

Here's a listing of MIME types for future reference:

To solve this I went into IIS Manager on the web server and clicked on the HTTP Headers tab and clicked the Mime Type button and added the new types.