Mumtaz Surani

Mumtaz Surani

  • NA
  • 16
  • 26.1k

error when starting a windows service created in c#.net

Jul 28 2009 2:24 AM

 
Hello,
* I have developed a sevice in c#.net.
*I installed it using a setup file created through visual studio 08.
*My service is also visible in local services in control panel.
*But when i start my service there is an error .The error no is 1053 stating:The service did not respond to start or control request in a timely fashion.
*Aftr this error the status of the service is 'starting' n i can neither start,stop,pause etc...
* i added    "thread.sleep(40000)" in the onstart n onpause event.
* i even dont know to debug the service.
* Could ne one plz help me to solve this problem...its very important and urgent...
*plz reply in detail and clearly as iam a junior .net developer..and need a clear idea to understand and implement..
* do u require my code??
*Plz do reply..

 
Mumtaz Surani

Answers (2)