Window Service Error
-
Hi all I have created a window service which just starts a thread on its start method.it was working fine.Now when i stopped the service and just restart the service without any changes i am getting an error "could not restart the service The service didnot respond to the start or control request in a timely fashion" Why is it so.Can any one pls help me Thanks in advance
Regards DilipRam
-
Hi all I have created a window service which just starts a thread on its start method.it was working fine.Now when i stopped the service and just restart the service without any changes i am getting an error "could not restart the service The service didnot respond to the start or control request in a timely fashion" Why is it so.Can any one pls help me Thanks in advance
Regards DilipRam
Hi I an only guess that something bad happen in your OnStart method After you stop the service and restart it. Use try catch block in order to process any exception thrown, And log the error message to the event log in order to track down the bug.
-
Hi I an only guess that something bad happen in your OnStart method After you stop the service and restart it. Use try catch block in order to process any exception thrown, And log the error message to the event log in order to track down the bug.