Failed to create The VirtualBox COM object

Trying to start virtual box ended up giving this error on fedora 17. There is a file called VirtualBox.xml in the location cd [home_dir]/ .VirtualBox.xml In the same location there is another file called VirtualBox.xml-prev which is kind of backup of the VirtualBox.xml. I just renamed the VirtualBox.xml to something and made a new copy of VirtualBox.xml-prev with the name VirtualBox.xml. This just fixed the issue and i can start virtual box now :)