Windows service installs and starts, but does not process

cellsworth

New member
Joined
Feb 29, 2012
Messages
1
Programming Experience
10+
I have created a Windows Service with VB.NET running on the 3.5 Framework. I have created many, many Windows services in the past with no issues. However, this one will install and start like everything is fine, but it never executes a line of code. To verify this I have added logging and the first thing that it should do upon successful startup is make a log entry. That never happens. It never runs one line of my code but it also never reports any errors in the application log.

For a bit of background, I have a ProjectInstaller class in my Windows Service project. It has the ServiceInstaller and ServiceProcessInstaller components, all mapped properly with the Service Name. I have a Setup project that has the primary output on each of the custom actions.

Has anyone run into this issue before where the service seems OK, but doesn't actually execute any code? Help is greatly appreciated. Thanks.

Corey
 
Back
Top