.NET Service will NOT Start

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.
 
L

LiquidJ

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}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top