I have done a windows service in c# but I'm having error since I started the service. I have searched for the solution but I couldn't find one yet.
If anyone faced with the same problem please help me.
The error says:
error 1053 the service did not respond to the start or control request in a timely fashion
As the message indicates, the Windows Services framework isn't getting the "I have started" message it should receive after it has launched your service. Please ensure that your code sets the SERVICE_RUNNING state, usually from your ServiceBase::OnStart() derived method:
What are you doing in the OnStart method? If whatever you are doing is a lengthy operation, you might need to break this functionality out into a secondary thread.
Bookmarks