Invalid object state

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Werner_k
Posts: 3
Joined: 29. Sep 2013, 13:51

Invalid object state

Post 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 !?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Invalid object state

Post 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.
Werner_k
Posts: 3
Joined: 29. Sep 2013, 13:51

Re: Invalid object state

Post 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 !
tapology
Posts: 1
Joined: 6. Apr 2015, 15:35

Re: Invalid object state

Post 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?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Invalid object state

Post by mpack »

Try right clicking the VM, and "Discard saved state".

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