Any reason why the same piece of code that maps a folder in another server WORKS in one environment/server and FAILS in another environment/server?
Sample code:
dim oNet
Set oNet = Server.CreateObject("WScript.Network")
oNet.MapNetworkDrive "R:", "\\nbwtr12pu\folder", False, "thisistheID", "thisisthePASSWORD"
oNet.RemoveNetworkDrive "R:"
Set oNet = Nothing
Sample code:
dim oNet
Set oNet = Server.CreateObject("WScript.Network")
oNet.MapNetworkDrive "R:", "\\nbwtr12pu\folder", False, "thisistheID", "thisisthePASSWORD"
oNet.RemoveNetworkDrive "R:"
Set oNet = Nothing