Acquisition of the VirtualBox COM object failed

This is for discussing general topics about how to use VirtualBox.
Post Reply
henryhs
Posts: 1
Joined: 9. Dec 2019, 17:25

Acquisition of the VirtualBox COM object failed

Post by henryhs »

Hello,
I tried to install last and oldest Virtualbox, but everytime I see the error
Acquisizione dell'oggetto COM di VirtualBox non riuscita.

L'applicazione sarà terminata immediatamente.

Document is empty.

Location: 'C:\Users\henry\.VirtualBox\VirtualBox.xml', line 1 (0), column 1.

F:\tinderbox\win-5.2\src\VBox\Main\src-server\VirtualBoxImpl.cpp[554] (long __cdecl VirtualBox::init(void)).

Codice di uscita:E_FAIL (0x80004005)
Componente: VirtualBoxWrap
Interfaccia: IVirtualBox {9570b9d5-f1a1-448a-10c5-e12f5285adad}
Chiamante: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}
I also try to unistall and reinstall but no news.
Someone can help me?
Thanks
Henry
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Acquisition of the VirtualBox COM object failed

Post by mpack »

You need to uninstall and then reinstall AS THE CORRECT USER, i.e. not using the special administrator user account.

Also, use "Run as administrator" to run the installer, to ensure that all components are properly installed.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Acquisition of the VirtualBox COM object failed

Post by socratis »

Although the error may be pointing to a COM issue, it's actually not a registry or a Windows issue, it's a corrupted 'VirtualBox.xml' issue.
  • The "C:\Users\henry\.VirtualBox\VirtualBox.xml" file has 0 bytes, it's empty, corrupted. Something went wrong.
  • In that same location, there should be a "C:\Users\henry\.VirtualBox\VirtualBox.xml-prev", that's a backup.
  • Quit VirtualBox, count to 10.
  • Delete the file "C:\Users\henry\.VirtualBox\VirtualBox.xml". No point in keeping it around.
  • Copy "C:\Users\henry\.VirtualBox\VirtualBox.xml-prev" as "C:\Users\henry\.VirtualBox\VirtualBox.xml".
  • Start VirtualBox.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Acquisition of the VirtualBox COM object failed

Post by mpack »

socratis wrote:Although the error may be pointing to a COM issue, it's actually not a registry or a Windows issue, it's a corrupted 'VirtualBox.xml' issue.
Hmm. Quite so. Looks like I should have looked beyond the title, I guess I must have been in a hurry.
Post Reply