Extracting the Zip file throws the File Corrupt Error

5 posts, 1 answers
  1. Kyle
    Kyle avatar
    2 posts
    Member since:
    Aug 2012

    Posted 16 Jul 2013 Link to this post

    I am zipping the file using the Telerik.Windows.Zip. When i extract the zip file manually using winzip, it throws the below error

    !   C:\Users\Public\Music\Sample Music\New folder\3.zip: CRC failed in 3.zip.xml. The file is corrupt.

    It does work sometime.

    using (Stream stream = viewModel.OpenStream())
                            if (stream != null)
                                using (ZipPackage zipPackage = ZipPackage.Create(stream))
                                    zipPackage.AddStream(new MemoryStream(GetXmlData(tutorial)),viewModel.Filename+".xml");


  2. Answer
    Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 19 Jul 2013 Link to this post

    Hello Kyle,

    Unfortunately I wasn't able to reproduce this issue locally and therefore I wanted to ask you if you can send over a sample solution where we can try to reproduce this issue. This will allow us to further investigate what might be causing it.

    Thank you in advance for your cooperation.

    Tina Stancheva
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. David
    David avatar
    1 posts
    Member since:
    Nov 2013

    Posted 25 Nov 2013 Link to this post

    In this conditions, you can take help of third party tool to resolve your all problem without any error. Browse the given link- http://exchangerecovery.hubpages.com/hub/zipfilerecovery

    The blog provided the helpful information about ZIP files corruption and way to tackle them.

  4. Naitik
    Naitik avatar
    1 posts
    Member since:
    Dec 2013

    Posted 10 Dec 2013 Link to this post

    Try WinRAR to fix corrupt ZIP file. It supports a built-in repair feature to repair corrupt RAR as well as ZIP files.
    1. Launch WinRAR program on your system
    2. Click File tab > Open archive (Ctrl+O)
    3. Select corrupt ZIP archive
    4. Click on Tools tab > Repair archive (Alt+R)
    5. Select archive type and a location for new ZIP file.
    6. Click on OK.
    Within a few seconds the file will be repaired and recreated at the location defined earlier (in the 5th step).
    If this doesn't help you, you may try a 3rd party ZIP recovery tool. I can recommend you to check demo version of SysInfoTools ZIP Recovery software. It will fix corruption and repair your ZIP file.
    Go to sysinfotools.com to know more about this software.
  5. Jack
    Jack avatar
    1 posts
    Member since:
    Jan 2018

    Posted 03 Jan 2018 Link to this post

    If you have a corrupt ZIP file and you want to repair it without using any 3rd party tool, you should use the WinRar application. It has a built-in repair feature which you can use here. Also, there's a Data Extraction feature in the WinRar application that can help you extract data from the corrupt ZIP file. Refer to this article for complete information - Repair ZIP File Manually – Restore ZIP File Content
Back to Top