Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDispatch = pythoncom.connect(IDispatch) pywintypes.com_error: (-2147221021, 'Operation unavailable', None, None) #2252

Open
gopinath0712 opened this issue May 3, 2024 · 0 comments

Comments

@gopinath0712
Copy link

Hi Team,
I am also facing this issue as listed below but above solutions not working
Someone pls help?

Issue: (Refer Screenshot)
File "C:\Users\SuperUser\AppData\Local\Programs\Python\Python312\Lib\site-packages\win32com\client\dynamic.py", line 84, in _GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, 'Operation unavailable', None, None)

Details:
Trying to run OPC Server simulation script using Python language

OS: Windows Server 2019
Python: Python 3.12.3 (64 bit)
Python Error1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant