You are currently offline, waiting for your internet to reconnect

Error message after you download a .ZIP file from a document library in Windows SharePoint Services: "Cannot open file"

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

SYMPTOMS
After you download a .ZIP file from a Microsoft Windows SharePoint Services document library, and then you try to open the .ZIP file, you may receive the following error message:
Cannot open file: it does not appear to be a valid archive.  If you downloaded this file, try downloading the file again.
CAUSE
This problem may occur if HTTP compression is turned on in the Web Sites properties of Microsoft Internet Information Services (IIS) on the SharePoint virtual server. When you download a .ZIP file, IIS encodes the file as GZIP. However, the browser client passes the file directly to the unZIP program, without GZIP decoding the file.

To determine if HTTP compression is turned on, follow these steps:
  1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Expand the server (local computer) tree, where server (local computer) is the name of your IIS server.
  3. Right-click Web Sites, and then click Properties.
  4. Click the Service tab to view the HTTP compression properties.
WORKAROUND
To work around this problem, change the MIME type for the .ZIP file from application/x-zip-compressed to application/octet-stream. To change the MIME type, follow these steps:
  1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Right-click the server (local computer) tree, where server (local computer) is the name of your IIS server, and then click Properties.
  3. Click MIME Types.
  4. Scroll down the registered MIME type list to find the .zip entry.
  5. Click the .zip application/x-zip-compressed entry, and then click Edit.
  6. Change the MIME type value to application/octet-stream.
  7. Stop and then restart the IIS Admin Service to apply the change to the MIME type.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
WSS archive sps portal WSSv3WSSv2 MOSS2007SPS2003
Properties

Article ID: 841120 - Last Review: 05/15/2007 03:25:31 - Revision: 3.2

Microsoft Windows SharePoint Services 3.0, Microsoft Windows SharePoint Services 2.0, Microsoft Office SharePoint Server 2007, Microsoft Office SharePoint Portal Server 2003

  • kbopenfile kbtshoot kbprb kbhttp kbwebservices kbwebserver kbclientserver kbclient kberrmsg kbinterop kbnofix KB841120
Feedback