i have built a sample windows service in visual studio pro 2010 , i had succesfully installed it on my windows machine , but when i tried to start it from services panel it says "Error 1053: The service did not respond to the start or control
request in a timely fashion", my service consists of only 2 methods they are onstop & onstart , when my service starts it continuosly monitors the power line status of laptop , if the laptop is running on battery then the laptop must be shutdowned
automatically through the service , is my way of implementing the service is correct ?? , please resolve the issue.
↧