G
Gene
I have a Windows Service (VB.NET) that runs 24/7. It
queries a Web service 5 to 10 times per hour. About 2 or
3 times a month, it fails. The log indicates that it
sends the request to the Web service but there is no
return from the service. Stopping and restarting the
Windows service cures the problem.
Our desire is to cure the problem with appropriate error
handling but failing that, is there an easy way to
automatically stop and restart the Windows service either
from within the service, from Windows, or from a parallel
Windows service that does nothing but monitor the primary
Windows Service to stop and restart it when necessary.
Any help, feedback, or comments would be appreciated.
queries a Web service 5 to 10 times per hour. About 2 or
3 times a month, it fails. The log indicates that it
sends the request to the Web service but there is no
return from the service. Stopping and restarting the
Windows service cures the problem.
Our desire is to cure the problem with appropriate error
handling but failing that, is there an easy way to
automatically stop and restart the Windows service either
from within the service, from Windows, or from a parallel
Windows service that does nothing but monitor the primary
Windows Service to stop and restart it when necessary.
Any help, feedback, or comments would be appreciated.