{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "After I create the text file using this code.\n \n        Using zip = New ZipFile()\n \n            For Each row As GridDataItem In RadGridDocs.MasterTableView.Items\n \n                Dim clientSelectColumn As CheckBox = DirectCast(row(\"ClientSelectColumn\").Controls(0), CheckBox)\n \n                Dim chkBox = clientSelectColumn.Checked\n \n                If chkBox = \"True\" Then\n \n                    Dim txtDocument As TextBox = row.FindControl(\"txtDocumentFileName\")\n                    Dim fileName As String = txtDocument.Text\n \n                    Dim txtDocumentPath As TextBox = row.FindControl(\"txtDocumentPath\")\n                    Dim documentPath As String = txtDocumentPath.Text\n \n                    Dim fullpath As String = Server.MapPath(\"~\") + \"\\\" + documentPath + fileName\n \n                    fullpath = Replace(fullpath, \"/\", \"\\\")\n \n                    fullpath = Replace(fullpath, \"\\\", \"\\\\\")\n \n                    'Code to Zip a Folder.\n \n                    zip.AddFile(fullpath)\n \n                End If\n \n            Next\n \n            zip.Save(Response.OutputStream)\n \n        End Using\n \n---------------------------------------------------------------------\n \nI am trying to send this out via a asp.net application using .NET 3.5. I keep getting the error \"Cannot open file: it does not appear to be a valid archive.\"\n \nAre there any ideas?",
    "LastUpdatedDate": "2013-02-21T18:43:04.55-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-08-18T11:51:45.85-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "After creating .zip I get error when opening the file",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 2,
    "Id": 14121
  },
  "FileAttachments": [
    {
      "FileId": 4048,
      "FileName": "ziperror.JPG",
      "DownloadUrl": ".\\4048"
    }
  ],
  "Comments": [
    {
      "Message": "as always try zip.ParallelDeflateThreshold = -1; (in vb code) before calling zip.Save(...) and see if this helps (its a workaround at the moment, since this seems to be a bug - not sure yet, waiting for cheeso to find out)",
      "PostedDate": "2011-08-31T14:30:41.877-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-09-25T08:14:47.43-07:00",
      "Id": -2147483648
    },
    {
      "Message": "I'm also getting this error.",
      "PostedDate": "2012-09-25T08:15:04.283-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:04.55-08:00",
      "Id": -2147483648
    }
  ]
}