OLE error 0x800700c1

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
JpJim
Posts: 1
Joined: 13. Jul 2016, 11:52

OLE error 0x800700c1

Post by JpJim »

Hello

I have a old server where i use some script for virtual machine automation. I try to install a new one but it's not work.
The system run on windows 7 sp1, with python 2.7.10 and virtual box 4.3.32
My script use glue layer VirtualBoxManager and i receive error message below :
File "MyVitualBoxMachine.pyo", line 178, in __init__
File "vboxapi\__init__.pyo", line 957, in __init__
File "vboxapi\__init__.pyo", line 491, in __init__
File "win32com\client\gencache.pyo", line 529, in EnsureDispatch
File "win32com\client\__init__.pyo", line 95, in Dispatch
File "win32com\client\dynamic.pyo", line 114, in _GetGoodDispatchAndUserName
File "win32com\client\dynamic.pyo", line 91, in _GetGoodDispatch
pywintypes.com_error: (-2147024703, 'OLE error 0x800700c1', None, None)

So I try to investigate and I use COM, but I have same error message
vbox = win32com.client.Dispatch("VirtualBox.VirtualBox")
session = win32com.client.Dispatch("VirtualBox.Session")
Traceback (most recent call last):
File "\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
pywintypes.com_error: (-2147024703, 'OLE error 0x800700c1', None, None)

I tried to install different of win32com witg same result.
Any idea ?

Thanks for you help!
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: OLE error 0x800700c1

Post by noteirak »

Can't help without the code...
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply