Chang Dacool wrote: > > The service will fail to start when we reboot the OS in some > computers, when this happens we will get error code 7000 and 7009 in > the event viewer. > 7000: The ServiceName service failed to start due to the following error: > The service did not respond to the start or control request in a > timely fashion. > 7009: A timeout was reached (30000 milliseconds) while waiting for The > ServiceName service to connect. > > We checked our program, the Service timeout was before launching our > program. >
I can't tell what you mean. Are you saying your service sometimes takes more than 30 seconds to launch? If so, then you need to figure out why it takes so long. If you are waiting for some event during your startup, perhaps you can reorganize your code so that you defer some of your initialization until after you enter the main service loop. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32