An error occurs after downloading a .ZIP file with Internet Explorer

Symptoms

Consider the following scenario.  Using Internet Explorer 6, Internet Explorer 7, or Internet Explorer 8 you download a .ZIP file from a web site.  Once the .ZIP file is downloaded and saved to your local machine, you attempt to open the .ZIP file.  At this point, the following error message is displayed:

 

The Compressed (zipped) Folder is invalid or corrupted.

 

Cause

This problem may occur if HTTP compression is enabled for .ZIP files on the web server that the .ZIP file is downloaded from.  When HTTP compression is enabled on the web server, the .ZIP file is encoded before being sent to Internet Explorer.  Once the HTTP-compressed .ZIP file is received by the client, Internet Explorer passes the .ZIP file directly to the program configured to un-zip the .ZIP file without first decoding the HTTP compression.

 

Resolution

To work around this problem, choose one of the following two options:

 

Option 1 - Disable HTTP compression for .ZIP files on the web server.

Note: If the web server hosting the .ZIP file is running Microsoft Internet Information Services (IIS), you can find more information about configuring HTTP compression at the following locations:


Using HTTP Compression in IIS 6.0
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d52ff289-94d3-4085-bc4e-24eb4f312e0e.mspx  

Configuring HTTP Compression in IIS 7.0
http://technet.microsoft.com/en-us/library/cc771003(WS.10).aspx

 

Option 2 - Change the MIME type for .ZIP files on the web server from application/x-zip-compressed to application/octet-stream.

Note: If the web server hosting the .ZIP file is running Microsoft Internet Information Services (IIS), you can find more information about configuring MIME types at the following locations:


Configuring MIME types in IIS 6.0
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/cd72c0dc-c5b8-42e4-96c2-b3c656f99ead.mspx

Configuring MIME types in IIS 7.0
http://technet.microsoft.com/en-us/library/cc753281(WS.10).aspx

 

 

More Information

Microsoft has confirmed that this is a problem in the products listed in the Applies-To section.

 

Свойства

Номер статьи: 2002350 — последний просмотр: 12 июля 2010 г. — редакция: 1

Отзывы и предложения