Failed to register machine! rc=80004005

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
wuzf
Posts: 15
Joined: 30. May 2013, 10:57

Failed to register machine! rc=80004005

Post by wuzf »

Hello, everyone.
today,I encountered an error,when I create a vm and register it, it failed, and error code is 80004005.
code:

Code: Select all

rc = pVBox->RegisterMachine(machine);
if (NS_FAILED(rc))
{
     printf("Error: Failed to register machine! rc=%08X\n", rc);
     return -1;
}
host system: ubuntu
VirtualBox version: 4.2.14
A few days ago, i successed to create a vm at same environm.
what reason?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Failed to register machine! rc=80004005

Post by noteirak »

Can't do much without the full code I am afraid...
Also, give the error message, not just the return code please.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
rousseauhk
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server
Contact:

Re: Failed to register machine! rc=80004005

Post by rousseauhk »

Duplicate machine ID? You said you created the same machine a few days ago...

thanks
Steve
Post Reply