EDN Admin
Well-known member
Hi,
I have a c# code wich copies files from the z: to the local harddrive.
The code works fine when just running it in a windows application.
Because i want to create a service with the same functionality i copied the same code into the onStart() of the service surrounded by a try /catch with logs to the eventlog.
In the eventlog i do see that it enters the catch with the error "could not find path z:". I dont know what is happening here.
Anybody an Idea?
grtz
Annihil8
View the full article
I have a c# code wich copies files from the z: to the local harddrive.
The code works fine when just running it in a windows application.
Because i want to create a service with the same functionality i copied the same code into the onStart() of the service surrounded by a try /catch with logs to the eventlog.
In the eventlog i do see that it enters the catch with the error "could not find path z:". I dont know what is happening here.
Anybody an Idea?
grtz
Annihil8
View the full article