Error while UnZipping a .zip file using System.IO.Compression RRS feed

  • Question

  • I am trying to unzip a file on windows azure worker role but it is giving the following error

    Exception :- Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory

    My code is very simple. I am using System.IO.Compression;

    C# Code

    ZipFile.ExtractToDirectory(string AcrhivefilePath, string destionationFolder);

    Does anyone know the solution to this problem?

    Thanks in advance.

    Saturday, February 16, 2013 9:37 PM


All replies