Failed to register machine! rc=80004005

Discussion about using the VirtualBox API, Tutorials, Samples.

Failed to register machine! rc=80004005

Postby wuzf » 25. Jul 2013, 15:45

Hello, everyone.
today,I encountered an error,when I create a vm and register it, it failed, and error code is 80004005.
Code: Select all   Expand viewCollapse view
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?
Posts: 15
Joined: 30. May 2013, 10:57

Re: Failed to register machine! rc=80004005

Postby noteirak » 25. Jul 2013, 20:22

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 -
Manage your VirtualBox infrastructure the free way!
Site Moderator
Posts: 5197
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: Failed to register machine! rc=80004005

Postby rousseauhk » 31. Jul 2013, 10:03

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

Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server

Return to The VirtualBox API

Who is online

Users browsing this forum: No registered users and 1 guest