We have a Windows.NET service that sometimes shuts down on one specific server, about three times in the last month. Logging shows that the OnStop method is OnStop called, so I don't think the service is crashing. However, we do not know what disables the service.
Is there any way to find out what disables the service? Is there anything I can register during OnStop ? The Windows Event Viewer simply shows that the application is closing, and the user account authenticated at that time is not displayed in the security log.
The service runs on .NET 3.5 SP1 on Windows Server 2003 Service Pack 2 (5.2.3790).
No service dependencies. This service is independent of any other services, and no other services are dependent on this service.
source share