I am trying a stringWrite function to append a text file on another server. Here is the code:
But I get the error: System.IO.IOException: Logon failure: unknown user name or bad password.
This server is inside my firewall, while the webserver is in the DMZ. But I haven't tried there yet. I am currently trying from my test system which is also inside the firewall.
Any help please?!
Code:
Dim sw As IO.StreamWriter = IO.File.AppendText("\\serverName\weborders\tmp ord-h.txt")
But I get the error: System.IO.IOException: Logon failure: unknown user name or bad password.
This server is inside my firewall, while the webserver is in the DMZ. But I haven't tried there yet. I am currently trying from my test system which is also inside the firewall.
Any help please?!