c# - Managed windows service not starting every time -


I have created a window service, which makes a lot of standard stuff. The OnStart method hosts a WCF service endpoint using the service host class.

The problem is facing the fact that the windows do not start the service every time, and sadly that this behavior is intermittent, that is, start with Windows start-up. It seems that the service configuration is not completely wrong.

After adding various logs to the onstart method, it seems that the startup method is not being called even when this service does not start. Therefore, during the startup method does not look like any kind of failure.

Can someone suggest such a thing? Is this normal?

Thanks, Nrupendra


Comments