[
  {
    "Id": "547317",
    "ThreadId": "241312",
    "Html": "\r\n<p>I seem to be having a problem with adding a mapped network drive to the AddDirectory method with the following error.&nbsp; If I use a local drive, it works OK.&nbsp; Any ideas?</p>\r\n<p>&nbsp;System.IO.DirectoryNotFoundException: Could not find a part of the path 'W:\\Costpoint\\70\\Beta2\\DSM'.<br>\r\n&nbsp;&nbsp; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br>\r\n&nbsp;&nbsp; at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)<br>\r\n&nbsp;&nbsp; at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)<br>\r\n&nbsp;&nbsp; at System.IO.Directory.GetFiles(String path)<br>\r\n&nbsp;&nbsp; at Ionic.Zip.ZipFile.AddOrUpdateDirectoryImpl(String directoryName, String rootDirectoryPathInArchive, AddOrUpdateAction action, Boolean recurse, Int32 level) in C:\\DotNetZip\\v1.9.1.5\\DotNetZip\\Zip Partial DLL\\ZipFile.AddUpdate.cs:line 1944<br>\r\n&nbsp;&nbsp; at Ionic.Zip.ZipFile.AddOrUpdateDirectoryImpl(String directoryName, String rootDirectoryPathInArchive, AddOrUpdateAction action) in C:\\DotNetZip\\v1.9.1.5\\DotNetZip\\Zip Partial DLL\\ZipFile.AddUpdate.cs:line 1886<br>\r\n&nbsp;&nbsp; at Ionic.Zip.ZipFile.AddDirectory(String directoryName, String directoryPathInArchive) in C:\\DotNetZip\\v1.9.1.5\\DotNetZip\\Zip Partial DLL\\ZipFile.AddUpdate.cs:line 1830<br>\r\n&nbsp;&nbsp; at Ionic.Zip.ZipFile.AddDirectory(String directoryName) in C:\\DotNetZip\\v1.9.1.5\\DotNetZip\\Zip Partial DLL\\ZipFile.AddUpdate.cs:line 1760<br>\r\n&nbsp;&nbsp; at DeltekSoftwareManagerAdministrator.frmMain.btnUpload_Click(Object sender, EventArgs e) in C:\\Operations\\main\\DeltekProductDistribution\\DeltekSoftwareManagerAdministrator\\frmMain.vb:line 1030</p>\r\n<p>Thanks</p>\r\n<p><br>\r\nScott</p>\r\n",
    "PostedDate": "2011-01-11T07:40:52.48-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "547706",
    "ThreadId": "241312",
    "Html": "\r\n<p>Could it be a permissions issue?</p>\r\n<p>That seems the most likely possibility.&nbsp; There's a file or directory that you don't have permissions on, in the mapped drive. DotNetZip is trying to read it, and failing.</p>\r\n<p>Note: the failure is occurring in System.IO.Directory.GetFiles().&nbsp; This library call in the System.IO namespace merely gets a list of files in a particular directory.&nbsp; This is the thing that is failing, for the path shown in the error message.&nbsp;\r\n You could try invoking that method in your own test application, to see if you get the same results. This might help track down the error for you.</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-01-11T18:48:05.153-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]