S
Suman
We are facing a problem with a Service we developed. It does not start
after a re-boot. We can Start/Stop the service from the interfacing
Application and the Services Control Panel all day long. But it does
not start after a reboot.
Details
We have implemented the Service using CAtlServiceModuleT (ATL 7.0).
For initialization and un-initialization, we have overridden the
PreMessageLoop and the PostMessageLoop. In the initialization we
create the internal COM objects and start a Scheduling engine (A class
with a Thread pool). These are the only two functions we have
overridden
The Error logged in the event viewer is
· Timeout (30000 milliseconds) waiting for the service to
connect.
· The service failed to start due to the following error:
The service did not respond to the start or control request in a
timely fashion.
after a re-boot. We can Start/Stop the service from the interfacing
Application and the Services Control Panel all day long. But it does
not start after a reboot.
Details
We have implemented the Service using CAtlServiceModuleT (ATL 7.0).
For initialization and un-initialization, we have overridden the
PreMessageLoop and the PostMessageLoop. In the initialization we
create the internal COM objects and start a Scheduling engine (A class
with a Thread pool). These are the only two functions we have
overridden
The Error logged in the event viewer is
· Timeout (30000 milliseconds) waiting for the service to
connect.
· The service failed to start due to the following error:
The service did not respond to the start or control request in a
timely fashion.