Access server file from client

ahpooh

Member
Joined
Jan 29, 2007
Messages
7
Programming Experience
Beginner
hi all,
i having a problem to access server folder.
i got one folder inside server, which i already shared.
but when i access that folder fail.

dim host as string = "\\serverId\folder\file.xml"
doc.Load(host)
.....

error :System.IO.IOException = {"Logon failure: unknown user name or bad password.

how i pass the user name and password?

any one help please.........
 
map the drive, use an accoutn with permissions, or shell execute the command:

net use \\path\to\wherever PASSWORD /user:USERNAME
 
Back
Top