CopyPastehas never been so tasty!

It Does Not Appear to Be a Valid Archive

by Dsmith

  • 0
  • 0
  • 0

Have you ever been stuck in a problem, where you are unable to extract a zip file. Generally, a file is zipped to ensure a large amount of data gets grouped into one place and compacted. This makes sending a huge amount of data to another person easy, as you do not have to select the numbers of file individually. All the data gets zipped into a single file and can be sent easily to another person. But at times, zipfiles cannot be accessed. This kind of nasty situation occurs because of corruption file. Now the main issue is to repair zipfile with the help of a third party zip recovery tool.

Let's consider an error message that appears when you try to download a compressed file from MS Windows SharePoint services document library. When an attempt is made to extract the file, the process does not complete and an error message is received:

"Cannot open file: it does not appear to be a valid archive. If you downloaded this file, try downloading the file again."

On receiving above error message if you still try to extract compressed file. It doesn't open and the information that is saved in the corrupt zip file cannot be obtained.

HTTP compression is enabled in 'Web Site properties' of MS Internet Information Services on the SharePoint virtual server. That is why, when a zip file is downloaded, the file is encoded as GZIP by the IIS. Due to this, the browser passes that file for unzipping directly without the GZIP application decoding it.

Corrupt Zip File is also a reason for it.

To resolve above issue you need to follow the below steps:
Ascertain, if the problem is due to the first reason. For checking the HTTP compression follow these steps:
1. Go to Start >> Administrative Tools >> Internet Information services Manager.
2. Explore the server tree.
3. Right click on Web Sites, and Properties.
4. Go to Service tab to see the HTTP compression properties.

To handle this, you will need to change the MIME type of file to solve the problem. For example application/x-zip-compressed to application/octet-stream. For changing the name of MIME type follow the below steps:
1) Go to Start >> Administrative Tools >> Internet Information Services (IIS) Manager.
2) Explore the server, and click on Properties.
3) Open MIME Types.
4) Check entry by scrolling down the MIME type list that is registered.
5) Go application/x-zip-compressed entry, and use Edit option.
6) Change value of MIME type to application/octet-stream.
7) Close and restart the IIS Admin service to apply the change to MIME type.

If after performing the above steps, the problem persists, then it must be due to corrupt ZIP file.

To handle a corruption scenario, repair zip file with the help of third-party zip repair products. These products do not demand any technical knowledge or recovery experience.

Stellar Phoenix Zip recovery is a proficient tool that is used to repair zip file irrespective of the cause of corruption. Zip files of up to 800 MB can be repaired using this software. Built with interactive user interface, the tool is easy to understand. These tools are read-only and non- destructive in nature. These tools are compatible with Windows 7, Vista, XP, 2003, and 2000.

Add A Comment: