[python-win32] Service error in Terminal Server 4.0

Mark Hammond mhammond@skippinet.com.au
Tue, 26 Mar 2002 11:34:00 +1100


This can happen if the service shutdown causes an error.  If you are lucky
you will see an entry in the event log.  If not, you may need to add your
own debugging statements to the SvcStop function to try and see where it
fails.

The "access denied" error is common when a service fails to stop in this
way.

Mark.

> -----Original Message-----
> From: python-win32-admin@python.org
> [mailto:python-win32-admin@python.org]On Behalf Of David Rock
> Sent: Tuesday, 26 March 2002 6:38 AM
> To: python-win32@python.org
> Subject: [python-win32] Service error in Terminal Server 4.0
>
>
> I am getting an error while trying to use pythonservice.exe, but it
> seems to be coming up only in MS TS4.0:
>
> 1061 The service cannot accept control messages at this time
>
> I get this when I try to stop the service because it appears to have
> stalled. I have no problems with the service under WINNT4.0 or WIN2000.
>
> If I try to kill the process from within the task manager, I get an
> error that access is denied (it  is currently running as the SYSTEM
> account.
>
> Any ideas of what to look for?
>
> --
> David Rock
> david@rock.homelinux.com
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32