A windows service I've created runs on all boxes except Windows 2000
server.
The windows service initializes (i.e., the Service:ServieBase class
gets constructed),
but the OnStart() method never fires.
On the same server, I have another service I've created which runs
just fine. Both services were installed using the Windows Installer,
exactly the same deal... both services run on other machines too.
BTW: when the constructor starts, I log "Service Initializing" at the
top, and "Service Initialized" at the bottom of the constructor, and
both get logged.
BUT THE ONSTART method never fires!
Service status remains forever: "STARTING" I have to kill the
process
to make it go away!
I also am handling AppDomain.CurrentDomain.UnhandledException += ...
but that never fires either.
WORKS on Windows Server 2003, Windows XP, Vista, etc...
DOES NOT WORK in Server 2000.
What gives?