G
glfrustum
Hi,
is there a "workaround" for the following problem that occurs on .NET
2.0:
DirectoryInfo someDir = new
DirectoryInfo(@"\\server.sub.domain.net\folder");
FileInfo[] someFiles = someDir.GetFiles("*.html");
On 1.1 this works fine, but version 2.0 it gives
************** Exception Text **************
System.IO.IOException: The network path was not found.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
If I replace name from UNC path with IP address or "short name" like
\\server\, also 2.0 version starts to work.
is there a "workaround" for the following problem that occurs on .NET
2.0:
DirectoryInfo someDir = new
DirectoryInfo(@"\\server.sub.domain.net\folder");
FileInfo[] someFiles = someDir.GetFiles("*.html");
On 1.1 this works fine, but version 2.0 it gives
************** Exception Text **************
System.IO.IOException: The network path was not found.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
If I replace name from UNC path with IP address or "short name" like
\\server\, also 2.0 version starts to work.