Unable to Acquire the Virtual Box COM Object

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
OnlyTheRealMe
Posts: 1
Joined: 19. Aug 2022, 17:05

Unable to Acquire the Virtual Box COM Object

Post by OnlyTheRealMe »

I just updated my macbook OS the other night and suddenly virtual box gets this message everytime. I am able to use the same install on other user accounts but not the one I primarily used and have googled only to find no tried and true solution. So I came here to see if I couldn't get one direct. If anyone can help I also get these details:


Location: '/Users/mainuser/Library/VirtualBox/VirtualBox.xml', line 1 (0), column 1.
/Users/vbox/tinderbox/6.1-mac-rel/src/VBox/Main/src-server/VirtualBoxImpl.cpp[740] (nsresult VirtualBox::init()).


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
VirtualBoxWrap
Interface:
IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee:
IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}


Thank you to everyone in advance for all the help!!!
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Unable to Acquire the Virtual Box COM Object

Post by scottgus1 »

The Virtualbox.xml file is damaged, although the installation & upgrade process of Virtualbox does not touch this file.

Reboot the host so no Virtualbox processes are running.
Go to /Users/mainuser/Library/VirtualBox (note the period in the folder name)
Rename "Virtualbox.xml" to "Virtualbox.xml-bad"
Rename "Virtualbox.xml-prev" to "Virtualbox.xml"
Try Virtualbox again.
Post Reply