I needed a simple way to ensure that the service is always running. These options do not help me, as it is the application sending a stop command to the service. If this service were stopping due to a crash in the service, Windows has options in the services dialog box that can automatically restart a crashed service, or restart the server itself. Regardless of the reason as to why the stop control was sent by the application, the service needs to be running all the time. In my case, a third-party application that I support (with no control over its source code) has a service that stops without warning to the user from time to time. This is often due to a bug in the application, or perhaps the connection with the database that was being used by the application was temporarily broken. Some applications running under Windows services do not always remain in the running state, even when there is no apparent reason that they should stop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2023
Categories |