I know this question has been asked twice.But both of them didn't help me.My code is working fine like onstart is for initialization the timers etc.
I have C# windows service which is running as some accnt not local.
Im currently using CCtray to deploy and start the service so it doesn't give me any error.
But sometimes manually I need to stop and start it again.And that's where I see this msg.
I know microsoft has a hotfix for sp1 but I don't know whether they have for sp2.And my server where service is located is sp2.
C# – Error 1053: the service did not respond to the start or control request in a timely fashion
cconfigurationwindowswindows-services
Related Topic
- C# – Error 1053 the service did not respond to the start or control request
- Selenium Test Case vs. Test Suite vs. general usage
- How to solve “The specified service has been marked for deletion” error
- C# – Windows Service won’t start ‘Error 1053: The service did not respond to the start or control request in timely fashion’
- C# – Error 1053 the service did not respond to the start or control request in a timely fashion
Best Answer
If we made a hotfix for SP1, the fix is already in SP2. Also, don't do anything in the OnStart, start up a separate thread to do anything and respond to SCM requests as fast as possible.