On Tue, 27 Jul 2004 10:04:38 -0700, "G. Dean Blake" <> wrote:
>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
>
Your ASP_NET user does not have the rights to the other machine file system.
Bobby Ryzhy
bobby @ domain below
http://weekendtech.net