• Publisert
  • 1 min

Office 2007 files behaves as compressed folder

<p>A solution for servers not able to handle Office 2007 files correctly</p>

One of our customers had a problem with Office 2007 files opening as zip files in IE8. The files opened as expected for Firefox users. In addition, everything works fine in the test environment (including IE8).

If you are experiencing the same problems, you should try the following.

Check the MIME-types. The correct MIME-types are:

".manifest", "application/manifest"
".xaml", "application/xaml+xml",
".application",  "application/x-ms-application",
".deploy", "application/octet-stream"
".xbap", "application/x-ms-xbap"


We checked the production server, and the MIME-types were correct. So, we moved on to the next step.

After emailing EPiServer support back and forth, it turns out that this is a bug: "Bug #31155: Office xml files (docx, pptx, ..) are treated as .zip files when downloaded in IE"

There are two solutions to this problem:
1 - Install Office 2007 on the server
2 - Install  MS Office Compatibility Pack for Word, Excel and Powerpoint 2007 on the server.

We did not want Office on the server, so we went for the compatibility pack solution. You can download the compability pack here.

Windows Server 2008 is NOT listed as a supported operating system, so we were a bit skeptical to install it in a production environment. But, we got information that it was sucessfully installed on a Windows 2008 server, so we decided to try it out.

We installed the compability pack on the server, and voila :-) The Office 2007 files opens without any problems in IE8, Firefox, Opera, etc

Thanks to EPiServer Support for helping us find a workaround to the bug.