Internet Explorer does not open docx files, saves them as zip

5

1

I have several docx documents on an Intranet for my work, but IE8 refuses to open them, instead only saving them as a zip (filename_docx.zip). This seems to be only an IE8 problem as both FF and Chrome open the documents just fine. Unfortunately as this is work based, I cannot simply drop IE as I would, in favour of a decent browser.

Does anybody know how to fix this issue in IE? Thanks.

David Gard

Posted 2012-10-03T09:28:03.753

Reputation: 1 368

Answers

7

The answer here was actually fairly simple, if you run your own webserver. If you do not, you'll have to point your host to this post.

It turns out that Apache and IIS don't have the new MS Office file formats (docx, xslx, pptx, etc.) listed on their Mime Types table, so IE doesn't know specifically what they are.

Apparently the new Open XML Document format types are types of zipped files, so IE see them as a zip, and that is why you are forced to save it. The difference between IE and the others (FF, Chrome and Safari I have tested) is that the makers of the others had the foresight to tell their browsers what to do with these file types - it seems the the Microsoft IE team are lazy as well as inept!

Apach Fix -

edit the /etc/mime.types file, add the following line and save the file.

application/vnd.openxmlformats  docx pptx xlsx

Now restart the httpd service and you are good to go (don't forget to reload your page before you test clicking on the attachment).

For more information click here.

IIS fix-

See this Microsoft KB article.

Suggested MIME Types for other MS Office extensions -

http://blogs.msdn.com/b/dmahugh/archive/2006/08/08/692600.aspx

David Gard

Posted 2012-10-03T09:28:03.753

Reputation: 1 368

Thanks for the info. BTW, does this still happen with IIS 7/8 and IE 9/10 as well? – Karan – 2012-10-03T16:21:08.100

Honestly, I'm not sure. My scenario was IE8 with Apache2. You'd hope that MS have solved the issue by IE9+, but it wouldn't surprise me if they had not! – David Gard – 2012-10-04T09:20:10.533