Actually I've tried that but it still kicks out with the same error since
the typelib/classid seems not to be registered or I probably don't
have the correct lcid, major, and minor values.  If you could tell
me what library to use when selecting it from
.\python24\Lib\site-packages\win32com\client\make.py -i
I would be on my way...

ADODB.Connection --> library??? msado15.dll

Thank you for responding!!!

On 5/24/05, Thomas Heller <theller@python.net> wrote:
list repository schrieb:

>Hello py2exe support,
>
>Problem:
>
>Works fine when running python test.py but fails when executing test.exe.
>
>conn = win32com.client.gencache.EnsureDispatch ('ADODB.Connection')
>conn.Open("Provider='SQLOLEDB';Data Source='.';Initial
>Catalog='mydatabase';User ID='user';Password='pwd';")
>
>Traceback (most recent call last):
>File " test.py", line 66, in ?
>File "test.py", line 57, in main
>File "test.py", line 16, in test_status
>File "win32com\client\gencache.pyc", line 540, in EnsureDispatch
>File "win32com\client\CLSIDToClass.pyc", line 50, in GetClass
>KeyError: '{00000550-0000-0010-8000-00AA006D2EA4}'
>
>Any suggestions...
>
>
>
Did you forgot to specify the typelib wrapper?  See
Lib\site-packages\py2exe\samples\advanced
for an example how this is done.

Thomas