Getting an error while extract zip file

Jun 23, 2011 at 2:19 PM
Edited Jun 23, 2011 at 2:23 PM

Hi,

 I am getting an error while extract a simple zip file without any password.

I am using Ionic.Zip DLL in my below C# windows application.

            try
            {
                string zipToUnpack = @"D:\ZipTest\Test.zip";
                string unpackDirectory = @"D:\ZipTest\";
                using (ZipFile zip1 = ZipFile.Read(zipToUnpack))
                {
                   
                    foreach (ZipEntry Ze in zip1)
                    {
                        Ze.Extract(unpackDirectory, ExtractExistingFileAction.OverwriteSilently);
                    }
                }
            }
            catch (System.Exception ex1)
            {
                System.Console.Error.WriteLine("exception: " + ex1);
            }

Error: Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Can someone please answer my question?

Thanks,

Mahesh.

Coordinator
Jul 5, 2011 at 2:54 AM

Your error is a basic one related to .NET, not to DotNetZip.

Do a search on the internet for that error and you will find some hints.

Good luck