Failed to create virtual box COM object

Discussions related to using VirtualBox on Windows hosts.

Failed to create virtual box COM object

Postby tkale » 18. Dec 2008, 15:36

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-settings}SystemProperties', attribute 'defaultHardDiskFolder':[facet 'pattern']The value " is not acceptedby the pattern '.+',

Element '{http://www.innotek.de/VirtualBox-settings}SystemProperties', 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!
tkale
 
Posts: 3
Joined: 16. Dec 2008, 23:10

Same Issue

Postby Cvantilborg » 18. Dec 2008, 15:59

I am getting the same error on a fresh install.

I can find the folder but not access like the error implies.
Cvantilborg
 
Posts: 3
Joined: 18. Dec 2008, 15:58

Re: Same Issue

Postby kkarpieszuk » 18. Dec 2008, 18:55

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?
kkarpieszuk
 
Posts: 1
Joined: 18. Dec 2008, 18:52

Re: Same Issue

Postby VMiklos » 19. Dec 2008, 13:52

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!
VMiklos
 
Posts: 2
Joined: 19. Dec 2008, 13:45

Failed to create virtual box COM object

Postby tkale » 19. Dec 2008, 15:15

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.
tkale
 
Posts: 3
Joined: 16. Dec 2008, 23:10

Re: Failed to create virtual box COM object

Postby VMiklos » 19. Dec 2008, 15:44

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?
VMiklos
 
Posts: 2
Joined: 19. Dec 2008, 13:45

Postby makikou » 20. Dec 2008, 00:56

the same error.

Could not load the settings file '/root/.VirtualBox/VirtualBox.xml'.
Element '{http://www.innotek.de/VirtualBox-settings}SystemProperties', attribute 'defaultHardDiskFolder': [facet 'pattern'] The value '' is not accepted by the pattern '.+'.
Element '{http://www.innotek.de/VirtualBox-settings}SystemProperties', 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}
makikou
 
Posts: 1
Joined: 20. Dec 2008, 00:49

Postby negated » 20. Dec 2008, 19:35

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.
negated
 
Posts: 1
Joined: 20. Dec 2008, 19:26

Postby The MAZZTer » 20. Dec 2008, 20:16

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.
The MAZZTer
Volunteer
 
Posts: 129
Joined: 16. Sep 2008, 23:22
Location: Internet
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu, Chromium OS, Windows

Postby chensler » 22. Dec 2008, 09:09

Simply deleting the .VirtualBox folder worked for me.
chensler
 
Posts: 1
Joined: 22. Dec 2008, 09:04

Deleting .virtualbox folder

Postby Cvantilborg » 21. Jan 2009, 21:57

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
Cvantilborg
 
Posts: 3
Joined: 18. Dec 2008, 15:58

Postby bkummel » 28. Jan 2009, 22:14

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?
bkummel
 
Posts: 1
Joined: 28. Jan 2009, 22:12

Postby Sasquatch » 28. Jan 2009, 22:27

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Failed to create virtual box COM object

Postby BOSSLUIS » 26. Nov 2009, 10:18

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!!!
BOSSLUIS
 
Posts: 1
Joined: 26. Nov 2009, 10:15
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MS 7

Re: Failed to create virtual box COM object

Postby fareed » 7. Jan 2013, 15:07

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
fareed
 
Posts: 1
Joined: 7. Jan 2013, 15:03

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 21 guests