Windows Service not starting automatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a Windows Service in vb.net that is set up to run automatically,
but it never starts during system startup. I can start it manually, but I
need the service to start without any user interaction. When I originally
installed the service, I had to attempt the start twice as well from the
Service Manager. So, for some odd reason, it has to be told twice to start.

I get the following errors in the System log at startup:

Timeout (30000 milliseconds) waiting for the LU/LW Mail Service service to
connect.

- and -

The LU/LW Mail Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely
fashion.

I'm not sure what's causing the service to time out like that, and I don't
know where to start looking to fix it.

Any ideas?
 
Ashley said:
I've created a Windows Service in vb.net that is set up to run automatically,
but it never starts during system startup. I can start it manually, but I
need the service to start without any user interaction. When I originally
installed the service, I had to attempt the start twice as well from the
Service Manager. So, for some odd reason, it has to be told twice to start.

I get the following errors in the System log at startup:

Timeout (30000 milliseconds) waiting for the LU/LW Mail Service service to
connect.

- and -

The LU/LW Mail Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely
fashion.

I'm not sure what's causing the service to time out like that, and I don't
know where to start looking to fix it.

Any ideas?

Does your service depend on any other services being started first? If
so, you need to set your service up so it knows to wait for those
services.
 
Back
Top