Failed to create the VirtualBox COM object

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jnuey
Posts: 45
Joined: 26. Sep 2014, 07:33

Failed to create the VirtualBox COM object

Post by jnuey »

Running 4.3.12 on Windows 8 everything worked fine up until this point until getting this error today. I tried updating to the most current version of Vbox without luck. I also ran the setup as admin and tried the compatibility with Windows 8 and Windows XP service pack 3 based on other recommendations.


Failed to create the VirtualBox COM object.

The application will now terminate.



Start tag expected, '<' not found.

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

D:\tinderbox\win-4.3\src\VBox\Main\src-server\VirtualBoxImpl.cpp[531] (long __cdecl VirtualBox::init(void)).

Result Code: E_FAIL (0x80004005)
Component: VirtualBox
Interface: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Failed to create the VirtualBox COM object

Post by noteirak »

Go to C:\Users\Chris\.VirtualBox and look for a file called VirtualBox.xml-prev.
If that file exists:
1. Make sure no VirtualBox process is running (especially VBoxSVC)
2. Make a copy of VirtualBox.xml then delete the original file
3. Rename VirtualBox.xml-prev to VirtualBox.xml
4. Try to start VirtualBox again
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
jnuey
Posts: 45
Joined: 26. Sep 2014, 07:33

Re: Failed to create the VirtualBox COM object

Post by jnuey »

Awesome thanks!
jnuey
Posts: 45
Joined: 26. Sep 2014, 07:33

Re: Failed to create the VirtualBox COM object

Post by jnuey »

By the way, do you know what caused this?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Failed to create the VirtualBox COM object

Post by noteirak »

I'm afraid not. All I can tell you is that file is the central configuration of VirtualBox and it got somewhat corrupted. Tends to happen when VBoxSVC gets killed typically.
The big question is - what happened that lead it to be killed. That could be hard shutdown, power failure, OS memory starvation, or even a user killing the process (willingly or not).
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply