Use DirectoryInfo to read network drive

I

Ian

I am having trouble to use DirectoryInfo to read info from
a network drive. I got "bad user name or bad password"
error when I using unc(\\server\folder\) to reference my
directory. Then I try to create a virtual directory on
IISS which map to my network directory and I got "path not
found". So how can I solve this issue?

here is my setting:
Server1 - standalone server and logon with local account
(abc) with admin access right. I need to read all the
file name on a directory of this machine
Server2 - standalone server and logon with local account
(abc and same password as server1) with admin access right.
IIS and ASP.net are run on this machine.

thanks,
Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top