>Are you specifying the full path? Windows services don't start up in the same folder that the DLL is located in. I think it defaults to something weird like \Windows\System32
I have two Windows Services. One is Local Service and the other is Local System. Both do not have any rights when the OS tries to start them. Worst, they cannot have any authorization to write an entry in the Event Viewer. In the first line of that method where it doesn't work, I tried to log in into the Event Viewer. It ended up in the same result as well. What else could be a factor here?
BTW, both services reside on drive E:. The OS is on drive C:. That's the only thing I could see. Are we forced to install our services on drive C:?