J
Jacques Wentworth
I'm trying to access a Folder on a different Server using ASP.NET, and
are getting a DirectoryNotFoundException. It works fine when I access
the local drives on the server. I made sure the folder does exist.
I've put my code below to show what I'm trying to do.
Thanks
Jacques Wentworth
'Dim dirs As String() = Directory.GetFiles("C:\temp")
Dim dirs As String() = Directory.GetFiles("Q:\BARDATA.PRD")
Dim dir As String
For Each dir In dirs
Label1.Text = Label1.Text & dir & vbCrLf
Next
are getting a DirectoryNotFoundException. It works fine when I access
the local drives on the server. I made sure the folder does exist.
I've put my code below to show what I'm trying to do.
Thanks
Jacques Wentworth
'Dim dirs As String() = Directory.GetFiles("C:\temp")
Dim dirs As String() = Directory.GetFiles("Q:\BARDATA.PRD")
Dim dir As String
For Each dir In dirs
Label1.Text = Label1.Text & dir & vbCrLf
Next