You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying "z:>DeZoner.exe --get --recurse -d=K:\somepath\datadir" I get the error below.
Unbehandelte Ausnahme: System.IO.IOException: Unerwarteter Netzwerkfehler.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileSystemEnumerableIterator1.AddSearchableDirsToStack(SearchData localSearchData) bei System.IO.FileSystemEnumerableIterator1.MoveNext()
bei System.Collections.Generic.List1..ctor(IEnumerable1 collection)
bei System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
bei DeZoner.Program.Main(String[] args) in z:\temp\UnblockFiles\DeZoner\Program.cs:Zeile 48.
This happen only on a mounted netshare. Local disks work fine.
Admittedly, I haven't studied German in over 18 years... but it appears that the app simply can't read the K:\somepath\datadir.
The point in the code where you've encountered this error is fairly direct System.IO.Directory.GetFiles which leads me to believe this is an error in network communication (stability) and/or in network authentication (think: login).
I'd recommend writing a very quick small app to do exactly that line of code that's failing, which should be something like: System.IO.Directory.GetFiles(@"K:\somepath\datadir", "*.*", SearchOption.AllDirectories
and see what results you get.
Another option is to try the PowerShell command Unblock-File [link]
Activity
arcdev commentedon Mar 9, 2019
Admittedly, I haven't studied German in over 18 years... but it appears that the app simply can't read the
K:\somepath\datadir.The point in the code where you've encountered this error is fairly direct
System.IO.Directory.GetFileswhich leads me to believe this is an error in network communication (stability) and/or in network authentication (think: login).I'd recommend writing a very quick small app to do exactly that line of code that's failing, which should be something like:
System.IO.Directory.GetFiles(@"K:\somepath\datadir", "*.*", SearchOption.AllDirectoriesand see what results you get.
Another option is to try the PowerShell command
Unblock-File[link]