Page 1 of 2

Failed to create virtual box COM object

Posted: 18. Dec 2008, 15:36
by tkale
Just downloaded 2.0.6 and installed on Microsoft Windows Server 2003.
At the end of installation, during program launch, window titled "VirtualBox-criticl error" shows up with the following messages:

Could not load the settings file 'c:\Docuemnts and settings\Administrator\.VirtualBox\VirtualBox.xml

Element '{http://www.innotek.de/VirtualBox-settin ... Properties', attribute 'defaultHardDiskFolder':[facet 'pattern']The value " is not acceptedby the pattern '.+',

Element '{http://www.innotek.de/VirtualBox-settin ... Properties', attribute 'defaultHardDiskFolder is not a valid value of the atomic type '{http://www.innotek.de/VirtualBox-settings}TLocalFile',

Result Code:VBOX_E_XML_ERROR (0x80BB000A)
Component: VurtualBox
Interface: IVirtualBox{339abca2-f47a-4302-87f5-7bc324e6bbde}

Thanks for help!

Same Issue

Posted: 18. Dec 2008, 15:59
by Cvantilborg
I am getting the same error on a fresh install.

I can find the folder but not access like the error implies.

Re: Same Issue

Posted: 18. Dec 2008, 18:55
by kkarpieszuk
Cvantilborg wrote:I am getting the same error on a fresh install.

I can find the folder but not access like the error implies.
Looks like a bug of a day :) I have thesame error and also today i downloaded virtualbox first time (encouraged by blog post at tombuntu)

Is here anyone who can help in solving of this?

Re: Same Issue

Posted: 19. Dec 2008, 13:52
by VMiklos
kkarpieszuk wrote:
Cvantilborg wrote:I am getting the same error on a fresh install.

I can find the folder but not access like the error implies.
Looks like a bug of a day :) I have thesame error and also today i downloaded virtualbox first time (encouraged by blog post at tombuntu)

Is here anyone who can help in solving of this?
I had the same issue.
I downloaded the earlier version (2.0.6) and I installed it, it converted the config xml file. Then I uninstalled it and I installed the new version (2.1.0), and now it's work!
I hope it could help you!

Failed to create virtual box COM object

Posted: 19. Dec 2008, 15:15
by tkale
For some reason it did not work for me. Tried following:

1. Installed 2.0.6. It works. Removed it and then installed 2.1.0-41146. Did not work.

2. Installed 2.0.6. Did not remove it but installed 2.1.0. Did not work.

3. Re-downloaded 2.1.0 and tried steps 1 and 2. did not work. Same error dialog pops up.

Re: Failed to create virtual box COM object

Posted: 19. Dec 2008, 15:44
by VMiklos
tkale wrote:For some reason it did not work for me. Tried following:

1. Installed 2.0.6. It works. Removed it and then installed 2.1.0-41146. Did not work.

2. Installed 2.0.6. Did not remove it but installed 2.1.0. Did not work.

3. Re-downloaded 2.1.0 and tried steps 1 and 2. did not work. Same error dialog pops up.
The 2.0.6 version tried to convert the config xml file?

Posted: 20. Dec 2008, 00:56
by makikou
the same error.

Could not load the settings file '/root/.VirtualBox/VirtualBox.xml'.
Element '{http://www.innotek.de/VirtualBox-settin ... Properties', attribute 'defaultHardDiskFolder': [facet 'pattern'] The value '' is not accepted by the pattern '.+'.
Element '{http://www.innotek.de/VirtualBox-settin ... Properties', attribute 'defaultHardDiskFolder': '' is not a valid value of the atomic type '{http://www.innotek.de/VirtualBox-settings}TLocalFile'.


Result Code:
VBOX_E_XML_ERROR (0x80BB000A)
Component:
VirtualBox
Interface:
IVirtualBox {339abca2-f47a-4302-87f5-7bc324e6bbde}

Posted: 20. Dec 2008, 19:35
by negated
I had the exact same problem; here's how I fixed it.

1. Uninstall whatever version of VirtualBox you currently have installed.
2. Delete the local hidden folder ("/.VirtualBox", which contains an .XML file which is causing the error) as well as the "/Program Files/Sun/VirtualBox" directory.
3. Install VirtualBox 2.1.0.
4. Enjoy!

-S

PS: It should be noted that my Virtual Machine and Drive folder are on a different harddisk, so I can delete my .VirtualBox file at will.

Posted: 20. Dec 2008, 20:16
by The MAZZTer
Simply deleting the .VirtualBox folder, in theory, should fix the problem, as it seems VirtualBox is crashing when trying to read the settings file from that folder. I don't see any reason to uninstall or reinstall.

Posted: 22. Dec 2008, 09:09
by chensler
Simply deleting the .VirtualBox folder worked for me.

Deleting .virtualbox folder

Posted: 21. Jan 2009, 21:57
by Cvantilborg
I have tried all the tips about this and nothing works.

I cannot delete the folder. Windows gives me an access denied error.

I have tried running a linux liveCD to delete the folder but then it doesn't exist at all.

Is there any way to point Virtual box at a different folder?

Thanks

Posted: 28. Jan 2009, 22:14
by bkummel
Sorry, I don't get it. The .Virtualbox directory contains all my settings and my VMs. Suggesting to delete those is just insane! Or do I understand it wrong?

Posted: 28. Jan 2009, 22:27
by Sasquatch
About that settings file error, you can move your .Virtualbox folder to a different location as a backup, then run VB and it should create a new settings file. Now compare that with the 'corrupted' one and fix the places where it doesn't look like the newly created file. Now move the backup folder back to it's original location and see how VB starts.

Re: Failed to create virtual box COM object

Posted: 26. Nov 2009, 10:18
by BOSSLUIS
I got this error before actually just a little while ago and for some reason i started looking into it. that .xml file i just deleted permanetly and when i ran the shortcut it just runs normally. i dont know try to delete that specific file and see what happens i have version 3.0.12 and this problem was happening so i just deleted that file and it worked i hope this helps!!!

Re: Failed to create virtual box COM object

Posted: 7. Jan 2013, 15:07
by fareed
HHHHHHHHi



sorry to day that i don't know why the people are try to complex the thinks on explanation

plz try to explain in easy way an to the point

for this error i hav search if u delete the .virtualbox folder which is locate in user/.virtualbox (delete it and restart your virtual box ) and u r done


thanks