When I (and other co-workers) try to download a Microsoft Office 2007 docx or xlsx file in Internet Explorer 8, it changes the file extension to zip. How can I keep this from happening?
I’ve checked the Windows “Default Programs” settings, and they look good. I should note that other browsers (e.g., Firefox, Chrome, Opera) don’t have the same issue. Also, docx and xlsx files on my hard-drive open with the correct programs. Is it an issue with the hosting site or my browser?
Hide 19 Comments
actually .docx and .xlsx are zip file, you can try to open it with 7zip
just rename those file with the correct extension
What website are you downloading from? Hotmail, Office Online?
It will probably download as a zip file, because if you are downloading multiple times, it’s easier to manage and save time downloading.
I don’t know why, but I learned yesterday that if you change the extension file docx for zip you will be able to open the file as a zip file with all the object of your docx file (images, xml files, etc.).
It is an IE issue and until Microsoft will release a fix in their next IE8 update, this should help:
1. In the upper-right corner of IE8, click on Tools to open the drop down menu;
2. At the bottom of the Tools menu, click Internet Options;
3. In the Internet Options dialog box, select the Security tab;
4. On the Security tab, select the Internet zone, then click the Custom Level button;
5. Scroll about 2/3 down the list to the option “Open file based on content, not file extension” and change the setting to Disable;
6. Click OK;
7. Repeat steps 4-6 for the Local Intranet zone and Trusted Sites zone;
8. Click OK;
9. Close all instances of IE8;
10. Reopen IE8 and it should now recognize Office 2007 and 2010 file extensions when saving email attachments.
Hmm Did all this, however, my Windows Business Vista and Office 2007 still comes up in IE as a .ZIP file.
This solution may work for e-mail attachments, but did not work for downloading a file from a web page. Rats.
This solution may work for e-mail attachments, but did not work for downloading a file from a web page. Rats.
Worked perfectly fit down loading web based emAil attachments
Seeing as the question has been answered, I must say, do not use Internet Explorer. Ever.
Unfortunately, If you are working in a Microsoft-minded company, using Sharepoint, MS Office 2010 and the like, you don’t have much of a choice. Since MS refuses to program by world wide standards, alternative wont deal with all the exceptions built in all the MS products. Maybe someday, later, ever?
It’s work !
Thank you Dylen.
I have total administrative control of both
the server and the client machine involved with this problem and NONE of
these proposed solutions worked for correcting this problem.In the end, the only thing that FIXED this issue for me was to….1) uninstall 7-Zip (so the browser has nothing to associate with the zip file)2) (Not sure if this step is required, but) I then downloaded the DOCX again,
(where, coincidentaly, it’s still being presented as a ZIP file),
however, this time I am prompted for what application to open it with and I choose MSWORD.
I don’t choose “Always open with MSWORD”, because I don’t want MSWORD always opening ZIP files.3) Re-install 7-Zip.After this, all subsequent attempts to download the DOCX, actually
resulted in a DOCX file being download and opened with the appropriate
MSWORD application.NOTE: Before you jump to the conclusion that I simply had a broken
file association, let me confirm, that when this problem was occurring,
I could double-click on any DOCX in explorer and MSWORD would always
open it. This problem was always and only occurring when trying to
download/open a DOCX with IE8. FF4 and Chrome both worked flawlessly.
I tried adding the proper MIME types to /etc/mime-types and to .htaccess
on the server side. I also tried Disabling “Open files based on
content, not file extension” (but this only resulted in the browser open
the DOCX as unreadable ASCII text), setting the FEATURE_MIME_*
registry keys to “0″, and adding the server URL to the “Trusted Sites”
list.
Again, NONE OF THESE SEEMINGLY LOGICAL SOLUTIONS WORKED FOR ME.I hope this is helpful to someone.
Cheers!Ken Banks
Hello KenBanks,
Thanks for your post. The seemingly logical solutions did not work for you, however the post was helpful to me as I now know that there is no solution to this problem.
I have had a case opened with Microsoft support and they are clueless for the past 6 months. They want to enable tracing on the bridgehead servers which is not feasible (due to security issues and large amount of mail-flow of approx 60-70 GB per day) at this point.
I’m considering moving to Zimbra eventually as it seems MS products ave lost stability al together with no apparent fixes in the near term.
I checked this issue on IE9 and it works for me (OS- Vista); my client uses Windows 7 and IE 8, it does not work for them; does anyone know whethere MS fixed this on IE9 ?
This appears to have been fixed in IE9, as it understands the office 2007 & 2010 formats are really zip files, but it checks the internal folder structure and saves them correctly.
Still using IE7, but what I found worked was to choose “Save” when you click on the file link, then add the proper document extension to the filename in the “Save As” dialog box, i.e. xlsx for Excel, etc. Although it defines the “Save as type:” as a zipped folder, it appropriately saves the file as the correct type.
I like Melm’s solution. It also works with IE8.
If you really want to get rid of this problem, you need to add the docx, xlsx and pptx to the mime-types on the server. This way you let the server decide what kind of programs are associated with these files.
If you have a hosted/shared package, then you need to ask your provider to add these to the mime-types.
What you need to add is:
docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation
Or
For Apache, add the MIME types in the conf/httpd.conf file, as given below:
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document .docx
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation .pptx
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx
Hope this will get anyone further.
Thank u very much