Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > py2exe service doesn't work, can't connect to service controller ?

Reply
Thread Tools

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

 
 
Brad Clements
Guest
Posts: n/a
 
      08-19-2003
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, http://www.velocityreviews.com/forums/(E-Mail Removed) (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Py2exe-users] py2exe 0.6.9 released Chris Spencer Python 3 12-08-2008 05:17 PM
RE: [Py2exe-users] py2exe 0.6.9 released Mark Hammond Python 0 11-17-2008 05:27 AM
about py2exe, I installed it, but can't find py2exe.exe in my computer. python Python 3 05-22-2006 02:08 PM
[py2exe] py2exe and datetime -> No module named datetime F. GEIGER Python 0 08-16-2004 01:13 PM
Re: py2exe service doesn't work, can't connect to service controller ? Brad Clements Python 3 08-24-2003 06:14 PM



Advertisments