Page 1 of 1

Remotely setting a VM's iso

Posted: 17. Jan 2012, 17:24
by dcod
Hi,

I'm attempting to control VirtualBox via Java and the web service.

When I try to set an iso for a vm's medium I get the following exception :

VirtualBox error: Method Medium::put_Location is not implemented (0x80004001)

I'm using the following code :

Code: Select all

List <IMediumAttachment> ma = im.getMediumAttachmentsOfController("IDE Controller");

ma.get(0).getMedium().setLocation("W:\\build\\testing\\fr13-stable\\14\\BlahBLah.iso");
Is there any other way of remotely setting the medium before remotely starting the vm?