[python-win32] Win32 com module error

Tim Roberts timr at probo.com
Fri Jun 24 03:32:01 EDT 2016


On Jun 23, 2016, at 6:56 AM, Asha Eshu <asharvce at gmail.com<mailto:asharvce at gmail.com>> wrote:

I have python 32 bit version 3.5.1 with win32com module installed . I have also pywin32 32-bit.

I am getting the following error
  File "C:\Program Files (x86)\Python35-32\lib\site-packages\win32com\client\dynamic.py", line 89, in _GetGoodDispatch
    IDispatch = pythoncom.connect(IDispatch)
pywintypes.com<http://pywintypes.com>_error: (-2147221021, 'Vorgang nicht verfügbar.', None, None)
-2147221021 is 0x800401E3, which is “operation not available.”

What COM object were you trying to instantiate?  Are you ABSOLUTELY sure that you have a 32-bit version of that object installed?  You can’t cross the 32/64 boundary with in-process COM objects.
—
Tim Roberts, timr at probo.com<mailto:timr at probo.com>
Providenza & Boekelheide, Inc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20160624/9659ef1c/attachment.html>


More information about the python-win32 mailing list