[
  {
    "Id": "231178",
    "ThreadId": "67997",
    "Html": "<p>I have a vb.net app.&nbsp; It is running from a network share and working with other folders and files on that network share and other network shares.&nbsp; It has been signed with a valid key and has no problems running on the share and working with the files on that share and others it has access to.&nbsp; I am using release 1.8.4.21 of Ionic.Zip.&nbsp;&nbsp;</p>\r\n<p>The application throws the following error:&nbsp; &quot;Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed&quot;&nbsp; when it tries to call the Save function on a ZipFile using the following code:</p>\r\n<p>Using zip as ZipFile = New ZipFile<br>&nbsp; For Each s as String In System.IO.Directory.GetFiles(workingfolder, &quot;*.txt&quot;)<br>&nbsp;&nbsp;&nbsp; zip.AddFile(s, &quot;&quot;)<br>&nbsp; Next</p>\r\n<p>Works fine up to here, but the next line throws the error:</p>\r\n<p>&nbsp; zip.Save(filename)</p>\r\n<p>However, if I change the zip.Save(filename) to the following, it works fine:</p>\r\n<p>&nbsp; Dim ms As New MemoryStream<br>&nbsp; zip.Save(ms)<br>&nbsp; -- additional code to save the MemoryStream to a file on the network share follows and works fine if I do it that way</p>\r\n<p>So, I figured out a workaround, but the internal ZipFile.Save() doesn't appear to like working with network shares</p>",
    "PostedDate": "2009-09-04T08:48:49.063-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "231189",
    "ThreadId": "67997",
    "Html": "<p>Can I see the rest of the exception, in particular, the stacktrace?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-04T09:12:25.287-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]