Page 1 of 1

Invalid object state

Posted: 29. Sep 2013, 14:01
by Werner_k
Hi

I am running Win7 64 bit, with a Win 2008 server VM. It worked just fine, until my host (Win7) crashed while Virtualbox was running as well. Now I get the following error when trying to start my VM:

VBOX_E_INVALID_OBJECT_STATE (0x80BB0007)
Cmponent: ProgressProxy
Interface: IProgress

The log does not say much. Only 13 lines in it, and the last 2 lines are:

Power up failed (vrc=VINF_SUCCESS, rc=VBOX_E_INVALID_OBJECT_STATE (0x80BB0007))
ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={db7ab4ca-2a3f-4183-9243-c1208da92392} aComponent={Console} aText={The virtual machine is not powered up}, preserve =false

I have ggogled, and cannot find anyone with the same problem.

I have tried the following:

Vboxmanage controlvm win2008x poweroff

Just in case it was still running, but that did not work

Please assist, as I really need that VM back !?

Re: Invalid object state

Posted: 29. Sep 2013, 15:18
by Perryg
Look in the folder that has the *.vbox file (same folder that has the actual image *.vdi).
You should see an *.vbox-prev and *.vbox.tmp
Compare the *.vbox with the *.vbox-prev and see if there is a large difference in the content and if there is (backup the *.vbox and delete it) then rename the *.vbox-prev to *.vbox

Note: everything VBox must be shut down before you do any of this work.

Re: Invalid object state

Posted: 29. Sep 2013, 17:56
by Werner_k
Thanks. Unfortunately the -prev and vbox files are exactly the same, so that did not work. But I did delete the .VirtualBox folder under c:\users\my-username, and then recreated the vm. It worked !

Re: Invalid object state

Posted: 6. Apr 2015, 15:40
by tapology
I am having a similar issue and cannot power off or start up a VM because it says it is already running, but the GUI says it is powered off..Here is what I get:
ERROR: A session for the machine 'ttserver' is currently open (or being opened or closed)
Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
Context: "OpenRemoteSession(a->session, uuid, sessionType, env, progress.asOutParam())" at line 377 of file VBoxManageMisc.cpp

DOES ANYONE KNOW WHAT NEEDS TO BE DONE TO GET THIS VM STARTED?

Re: Invalid object state

Posted: 6. Apr 2015, 17:08
by mpack
Try right clicking the VM, and "Discard saved state".

Next I would try rebooting the host and then reinstalling VirtualBox.