Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 6 down vote accepted

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

share|improve this answer
    
Thanks for the info. BTW, does this still happen with IIS 7/8 and IE 9/10 as well? –  Karan Oct 3 '12 at 16:21
    
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 Oct 4 '12 at 9:20
1  
+1 Thank you for your answer - and for posting and accepting it (seems not many bother). –  pnuts Oct 18 '12 at 16:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.