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\ -i
I would be on my way...

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

Thank you for responding!!!

On 5/24/05, Thomas Heller <> wrote:
list repository schrieb:

>Hello py2exe support,
>Works fine when running python 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 "", line 66, in ?
>File "", line 57, in main
>File "", 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
for an example how this is done.