Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Console Application using files from different server

Status
Not open for further replies.

mcauliff

Programmer
Feb 26, 2007
71
US
I have a VB.Net (VS2005) Console Application. It is reference a csv file on a different server. At the end of the program it is require to copy the csv file to another directory on the other server and append the date to it for archive purpose. It then deletes the csv file.


It is receiving this error;
Access to the path ...... is denied.

I'm assuming that this is a permission issue between the servers.

What is wrong? How do I resolve?


 
Can you perform the action using Windows Explorer? If you can it is most likely not a permissions problem. Can you post some code?

If you choose to battle wits with the witless be prepared to lose.

[cheers]
 
No, but I might not have the permission to perform the task. I do have it in another environment, that I used to code and test the app and it worked there.

When I moved it to different environment is when it started failing. That is why I thought it was a permission issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top