swade61970
Programmer
I am trying to copy a file from one server to another server without using drive letters inside a VB.Net program. If I have both servers mapped in Windows Explorer to a drive letter, UNC naming in my VB.Net works great. If I remove the drive letters and reboot and then try to run the VB.Net program, it fails saying username or password invalid.
I'm guessing it worked with UNC naming before b/c I already established connections to these servers. And since my default username and password for our network is not the same username and password I'm using to connect to the two servers, the VB.net program can connect using my credentials and it can't prompt to ask my username and password.
Any suggestions with this issue? The only workaround I know is that whoever is running this program needs to have a username and password setup the same on the network and the two servers that are being used.
I'm guessing it worked with UNC naming before b/c I already established connections to these servers. And since my default username and password for our network is not the same username and password I'm using to connect to the two servers, the VB.net program can connect using my credentials and it can't prompt to ask my username and password.
Any suggestions with this issue? The only workaround I know is that whoever is running this program needs to have a username and password setup the same on the network and the two servers that are being used.