Wednesday, May 27, 2009

Message after You Download a .Zip file from a Document Library

Download a .zip file from a SharePoint Services document library, and then try to open the 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.

This problem occurs when HTTP (Hypertext Transfer Protocol) compression is turned on the SharePoint Virtual Server. When download the .Zip File, it is encoded as GZIP. When this error occurs, the browser client passes the file directly to the UNZIP program, without GZIP decoding the file.

In this case, you first need to determine if HTTP compression is turned on or not. If the HTTP compression is turned on, then follow the 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.

Once the HTTP properties are determined, change the MIME (Multipurpose Internet Mail Extensions) type for .ZIP file from application/x-zip compressed to

application/octet- stream. To change the MIME type, follow the 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 clicks 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.

Once you have downloaded the file, check, if there are any corrupted files in the Zip archive. The only reason for the corruption of zip files in this case could be virus attack. In this case; you need to take the help of zip recovery software.

Zip Recovery Software helps in recovering the corrupted files which have been corrupted due to virus attack or sabotage. A Zip Recovery Software helps in repairing and restoring the corrupted .zip files and zip archives. The Stellar Phoenix Zip Repair Software extracts Zip files which are password protected till WinZip 8.0 and WinZip till 11.1. It can also repair the zip files up to 800 MB.

File Sharing

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.