Windows Service Error

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

Hi,

I have a windows service to do a "task" on my local box (move files) from
C:\Test to D:\Test
Now I want to change the "task" to move from C:\Test to my user space on the
network
I tried 2 things and it gave me 2 different errors
1. from C:\Test to \\(Network)\Stephen\Test
it gave me an "ExceptionMessage:Access to the path
"\\(Network)\Stephen\Test\temp.txt" is denied."

2. from \\(Network)\Stephen\Test to C:\Test
it gave me an "ExceptionMessage: path "\\(Network)\Stephen\Test\" in
invalid.

Can someone please tell me whats wrong?

Stephen
 
Most likley the windows service does not have write permissions on that
computer.
I suggest you have it run under a user account that does have the necessary
permissions. For initial testing purposes, I suggest having it run under
your personal user account since you know you have the necessary
permissions.
 
Thanks Steve,
Will try that
Stephen

Steve C. Orr said:
Most likley the windows service does not have write permissions on that
computer.
I suggest you have it run under a user account that does have the necessary
permissions. For initial testing purposes, I suggest having it run under
your personal user account since you know you have the necessary
permissions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top