joeatwork7 0 Newbie Poster

I am attempting to connect to a remote share, accross from one domain to another. In the past, this worked on my system, however, it no longer appears to work and never worked on other clients.

I have tried with and without the domain credentials, and have recieved responses such as invalid username/password, access denied, etc, depending upon what type of share I used.

I have tried creating a share, as well as hitting c$\folder\subfolder\destination. Initially when this was made, it worked on my Vista system, but on an XP client, it did not.

Although I beleive this to be some sort of odd permissions problem, I attempted to add "everyone" into with full permissions on the shared folder, for testing, and also recieved an access denied. I have verified the username and credentials, and have used the exact ones to connect mannually.

Below is the code I used...

My.Computer.Network.UploadFile("C:\Program Files\Project3\22.txt", New Uri("\\server\Share"), "DOMAIN\MyUser", "MyPassword")

Any help would be much appreciated!

Thanks,
Joe

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.