469,268 Members | 998 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,268 developers. It's quick & easy.

py2exe service doesn't work, can't connect to service controller ?

I'm trying to get a simple service to work with py2exe and python 2.3

I get this error when I start it (after registering it)

The description for Event ID ( 240 ) in Source ( UMXWIN32SVC ) cannot be found. The local
computer may not have the necessary registry information or message DLL files to display messages
from a remote computer. The following information is part of the event: 1063, The service process
could not connect to the service controller..
I then tried the sample MyService and I get the same problem. After building it, I then
register it then try to start it, but it fails.

The description for Event ID ( 240 ) in Source ( MyService ) cannot be found. The local computer may
not have the necessary registry information or message DLL files to display messages from a remote
computer. The following information is part of the event: 1063, The service process could not connect
to the service controller..

The contents of the dist directory for the sample MyService is

Directory of C:\temp\py2exe\MyService

08/19/2003 09:55a <DIR> .
08/19/2003 09:55a <DIR> ..
08/19/2003 09:55a 324,416 MyService.exe
05/30/2003 06:12p 847,920 python22.dll
07/29/2003 06:54p 974,900 python23.dll
01/18/2002 04:44p 65,536 PyWinTypes22.dll
07/27/2003 10:23p 86,084 PyWinTypes23.dll
07/27/2003 10:23p 61,497 win32api.pyd
07/27/2003 10:23p 28,731 win32event.pyd
07/27/2003 10:23p 28,732 win32evtlog.pyd
07/27/2003 10:23p 28,733 win32service.pyd
07/29/2003 06:55p 57,392 _sre.pyd

(Note the double copying of pythonxx.dll's)

The registry entry looks ok.

Any ideas?

--
Brad Clements, bk*@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
Jul 18 '05 #1
0 5071

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Thomas Heller | last post: by
6 posts views Thread by Brad Clements | last post: by
5 posts views Thread by Rene Olsthoorn | last post: by
6 posts views Thread by Leonardo Curros | last post: by
9 posts views Thread by Rotzooi | last post: by
dmjpro
3 posts views Thread by dmjpro | last post: by
2 posts views Thread by =?Utf-8?B?Vmlua2k=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.