.NET Service will NOT Start

  • Thread starter Thread starter kerickson
  • Start date Start date
K

kerickson

I have a service application I wrote in vb.net. it has
run perfectly on multiple servers, but I now have to run
the service from a new server and it will not start. I
get "Error 1053: The service did not respond to .. in a
timely fashion." I've uninstalled/reinstalled the
service repeatedly - no change. What could be causing
this????? Thanks in advance.
 
Usually this means that you're not calling SetServiceStatus() correctly in
your control handler. The SCM waits for your service to set its status to
SERVICE_RUNNING, and if, after a period of time, it doesn't, you get this
message.

The reason why it works on some machines but not others is sort of a mystery
since you didn't provide any information about them. My guess is that for
some reason, some or your servers have a version of the SCM which is more
lenient than the others...OS differences?


{L}
 
Back
Top