From: Thomas H. <th...@py...> - 2006-02-17 16:49:38
|
Brian Olsen wrote: > Hello, > > I wrote a small program which I am trying to run as a service. I built the > program as a service and then tried to run it. The traceback I got back > is: > > File "boot_service.py", line 170, in ? > pywintypes.error: (1063, 'StartServiceCtrlDispatcher', 'The service > process could not connect to the service controller.') > > To see if it was not just an isolated problem, I built the sample service > in samples/advanced. That builds fine, but when I try to run it, the same > error as above comes up. You don't run the service yourself - windows does it for you after you have it installed. Doesn't the exe print this help? Services are supposed to be run by the system after they have been installed. These command line options are available for (de)installation: -help -install -remove -auto -disabled -interactive -user: <arg> -password: <arg> You can install the service by running 'yourexe -install', and then start and stop it via control panel. Thomas |