<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>I am encountering some challenges when trying to retrieve guest properties (enumerateGuestProperties) via the SOAP API.<br><br>I am able to use this API and retreive guest properties if the guest is not running ... but get a runtime exception if I try when the guest is running.  I know it can be done since VBoxManage is able to ... but I'm wondering if this could possibly be a vboxwebsrv  problem.  Essentially ... the steps I use are:<br><br>1) Instantiate a new Session object<br>2) Using this session object ... try to open a new session (openSession)<br>3) If getting a new session fails ... try to open an existing session (openExistingSession)<br>3) With the opened session object ... get the machine object reference (ISession::machine)<br>4) Using the machine
 reference ... enumerate the guest properties (ISession::enumerateGuestProperties)<br><br>If the VM is not running ... it works perfectly.  If the VM is running ... a runtime exception is thrown.  The error thrown is:<br>     "VirtualBox error: Internal application error (0x2147500037)"<br><br>Using the same Machine reference object I can retrieve other machine specific information ... so I know the machine ref is valid (additionally, the UUID on the machine ref matches the UUID of the VM).<br><br>I am also able to use this same approach to getting a session for both a non-running and running VM to start/stop/pause or otherwise manage a VM.  As frequently suggested (<smile>) ... I have looked over how VBoxManage does it ... and I am unable to see a difference between how VBoxManage retreives the information when compared to they way I do.<br><br>I'm sure I must be doing something wrong ... but it sure does not
 seem very obvious.<br><br>Anyone have any suggestions they can offer ?<br><br><br>Thanks,<br>Joe<br></div>
</div><br>

      </body></html>