{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hi ,\n \ni am using Ionic.Zip dll, Version 1.9.1.8 for For Extracting Zip file. The code is like below\n \nstring \n \n \nzipToUnpack = sourcePath; \n \nstring \n \n \nunpackDirectory = destinationPath; \n \nusing (ZipFile zip1 = ZipFile \n \n \n \n \n \n \n.Read(zipToUnpack)) \n \n \n{\n \n \n \n// here, we extract every entry, but we could extract conditionally\n \n// based on entry name, size, date, checkbox status, etc.\n \n \nforeach (Ionic.Zip.ZipEntry ex in\n zip1) \n \n{\n \n \nex.Extract(unpackDirectory,ExtractExistingFileAction\n .OverwriteSilently); \n \n \n}\n \n}\n \n i have two zip files. one is extracted perfectly. but another one is giving an error.\n \nthe Error is :\n \n \nSystem.Exception: Error unzipping file \"XXX\" \n \n---> Ionic.Zip.ZipException: Cannot read that as a ZipFile ---> Ionic.Zip.BadReadException:  \n \n Bad signature (0x00905A4D) at position  0x00000000\n   at Ionic.Zip.ZipEntry.ReadHeader(ZipEntry ze, Encoding defaultEncoding)\n   at Ionic.Zip.ZipEntry.ReadEntry(ZipContainer zc, Boolean first)\n   at Ionic.Zip.ZipFile.ReadIntoInstance_Orig(ZipFile zf)\n   at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)\n   --- End of inner exception stack trace ---\n   at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)\n   at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding \n \nencoding, EventHandler`1 readProgress)\n   at Ionic.Zip.ZipFile.Read(String fileName)\n   at FileExtractor.ExtractFile.UnzipDataFile(String sourcePath, String destinationPath)\n   --- End of inner exception stack trace ---\n   at FileExtractor.ExtractFile.UnzipDataFile(String sourcePath, String destinationPath)\n   at North1FileUpLoadService.North1FileUpLoadService.fileSystemWatcher_Created(Object \n \nsender, FileSystemEventArgs e)\n \n \nwe did R&D on this Issue. we compared both zip files one is extracting and another onc is not extracting then we found one small difference in ZIP file which is not extracting. The Difference in  \"Packed\" Property values. Packed Property has 0(ZERO) for Error ZIP File. Please can you provide  this the problem or any \n \nHere i am attaching document of two zip files view. we observe one more thing is Error Giving File has \"SFX 7-Zip archive\" and working file has \"SFX ZIP archive\" . are these cause my error?",
    "LastUpdatedDate": "2013-02-21T18:42:47.507-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2012-08-17T00:08:16.73-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Getting Error while Extracting file",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 15502
  },
  "FileAttachments": [
    {
      "FileId": 4592,
      "FileName": "ZipFileIssue.docx",
      "DownloadUrl": ".\\4592"
    }
  ],
  "Comments": []
}