November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi,
One of my customers also recently reported this problem. It turns out the problem is caused by EPiServer returning the wrong MIME type when downloading the file. This can be seen by using Fiddler and downloading an Office 2007 file from both IIS and EPiServer.
I registered the problem with EPiServer support, and they just got back to me with a fix.
"Workaround:
1. The problem is resolved when MS mime extensions are loaded on the server.
Either install MS Office Compatibility Pack for Word, Excel and Powerpoint 2007 -
http://www.microsoft.com/downloads/details.aspx?FamilyID=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en - or install Office 2007 on the server."
I have just tested the compability pack on our test server, and it seems to solve the problem. EPiServer support also said they would register it as a bug, so hopefully this won't be necessary in a future version of EPiServer.
Johannes
Thanks Johannes, we actuelly solved this problem a few days ago by installing that exact pack. Just forgot adding that to this thread.
But it's good that you answered this thread if others are experiencing the same problem, seeing as more and more probably are starting to use Office 2007.
Thanks!
/Fredrik
Did you install this on a server which allready had office installed? My server does not have Office, and I'm a bit sceptical to install the compability pack...
Hi Lars,
No, our server did not have Office installed. I believe that this problem only occurs on servers that doesn't have Office installed.
Have tried this on two servers where office wasn't installed, and it worked on both.
/Fredrik
In my case the servers did not have any Office product installed, and so far there seems to be no negative effects. I think what happens is that the compatibility pack also updates a common Windows component used to detect file mime types, allowing it to recognize the files as Office files rather than zip archives which they actually are as well.
Same as Johannes here, Win 2003. If you check the link http://www.microsoft.com/downloads/details.aspx?FamilyID=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en it doesn't actually list win 2008 server as a supported OS. Not sure if will work anyway.
If you decide to try it, please reply with your success/failure. Good to know.
/Fredrik
Has anyone of you tried to download a word template file .dotx ?
We still have this problem for .dotx files on IIS6 Win 2003 server even after installing the Compability pack.
I made my own small httpHandler that add the the right contenType when requesting a xlsx document and it seems to work fine.
By doing this you don't need the Office Compatibility Pack on the server
I'll test it some more, but so far so good
Hi,
Having a problem on a customers site, the customer have uploaded Excel 2007 files (.xlsx) on their intranet. So far so good.
When trying to download a file, it's saved as a compressed folder and not a Excel 2007 file.
It is a common problem however, which usually is fixed by adding mime types for .xlsx in IIS, which I have done. And it doesn't work, the files still try to download as a compressed folder.
If I copy a .xlsx file to the webroot directly on the server, bypassing Episerver, it does work however. When using EPiservers File manager it doesn't.
Anyone seen this problem before and know of a fix?
Thanks,
Fredrik