Friday, 20 March 2015

Windows service: The service cannot accept control messages at this time

So I had just updated a windows service with some errorhandling so that a mail will be sent if the service crashed or was stopped or shutdown. When I tried to manually stop the service both from the services gui or from a command prompt I was greeted with:

Error: 1061 The service cannot accept control messages at this time 


No matter what I did I always got the same message. I waited and I don´t remember if I even rebooted the computer but the only way in which I could take control of the service again was to manually choose end task for the process in windows task manager.


No comments:

Post a Comment