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

Discussion in 'Python' started by Brad Clements, Aug 19, 2003.

  1. 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, (315)268-1000
    http://www.murkworks.com (315)268-9812 Fax
    http://www.wecanstopspam.org/ AOL-IM: BKClements
    Brad Clements, Aug 19, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Otis Mukinfus
    Replies:
    3
    Views:
    913
    Juan T. Llibre
    Jul 8, 2005
  2. Brad Clements
    Replies:
    3
    Views:
    7,334
    Brad Clements
    Aug 24, 2003
  3. python
    Replies:
    3
    Views:
    1,781
    Simon Brunning
    May 22, 2006
  4. Michael Earls
    Replies:
    3
    Views:
    3,265
    MBUnit
    Mar 24, 2009
  5. Replies:
    2
    Views:
    278
Loading...

Share This Page