Qt-solutions Archive, October 2007
[4.3.2] QtService service can't start in Windows
Message 1 in thread
Hi,
The QtService does not seem to start in Windows XP. I have tried to
start the interactive example as well as my own service. In both cases,
the services work if started with the -e (execute) parameter. The
commands to install and uninstall the service also seem to work
correctly (uninstall requires restart, but I guess that is a Windows
problem).
In both cases, there is an error of event id: 7009 from Service Control
Manager that states:
"Timeout (30000 milliseconds) waiting for the Qt Interactive Service
service to connect"
followed immediately by Event ID: 7000 from SCM stating:
"The Qt Interactive 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."
Note that the timeout did not occur so I am puzzled why there is a 30
second timeout while it didn't even wait one second. There is no
problems with other services on this installation of XP which is
currently running in a virtual machine.
- Adam
--
[ signature omitted ]
Message 2 in thread
Adam M wrote:
> "The Qt Interactive 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."
Problem solved. The issue is that the service did not start because of a
mixup with the debug/release versions of DLLs.
The message is actually caused by service not starting at all (missing DLL).
- Adam
--
[ signature omitted ]