Friday, July 9, 2010

vboxvmservice is great. It's also case sensitive with Oracle

ERROR: Could not find a registered machine named 'Random Name'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee IUnknown
Context: "FindMachine(Bstr(VMNameOrUuid), machine.asOutParam())" at line 2027 of file VBoxManageInfo.cpp
Using custom VRDP-Port: 3390
Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.

This happened after I changed to Oracle from Sun.
I had to global search and replace Sun for Oracle in the VBoxVmService.ini as well as change my lazy lowercase only
VBOX_USER_HOME=c:\Documents and Settings\username\.VirtualBox to proper case.

Further testing proved it wasn't working as expected on reboot, even if it could work from command line. I'm not going to fight this, so I put the VBOX_USER_HOME info in the global environment variables and it worked quite nicely.

1 comment:

cizko said...

I'm glad you like my project. :-)

I just released the new version rel20100817-win7 a few minutes ago...

You can get it from the official project site at sourceforge

Cheers, mattz

Blog Archive