G
G. Dean Blake
I have a UNC path that points to a shared directory on another Windows XP
computer. The UNC is \\mylaptop\c\shareddir. This UNC works if I put it
into my i.e. browser so I know it's a good link.
But when I execute the following code....
Dim rootdi As DirectoryInfo = New
DirectoryInfo(Session("ScannedInvoicesDirectory"))
If Not rootdi.Exists Then
lblError.Text = "Scanned Directory" & Session("ScannedInvoicesDirectory")
& "does not exist"
Exit Sub
End If
.... it fails. rootdi.exists is false. This code works on my development
machines just fine but it is failing on our production servers.
Does anyone have a clue?
Thanks,
G
computer. The UNC is \\mylaptop\c\shareddir. This UNC works if I put it
into my i.e. browser so I know it's a good link.
But when I execute the following code....
Dim rootdi As DirectoryInfo = New
DirectoryInfo(Session("ScannedInvoicesDirectory"))
If Not rootdi.Exists Then
lblError.Text = "Scanned Directory" & Session("ScannedInvoicesDirectory")
& "does not exist"
Exit Sub
End If
.... it fails. rootdi.exists is false. This code works on my development
machines just fine but it is failing on our production servers.
Does anyone have a clue?
Thanks,
G