Error when determining virtual machine power state

May 26, 2010 at 9:13 AM

I have been using VMWareTasks to connect to an ESX 4.0 environment for some time with no real problems. Recently the VMWare environment was updated and I am now having problems with the power state of virtual machines.

When checking VMWareVirtualMachin.IsRunning, this is always false, even if the virtual machine is running. If I ignore that and try i.e. WaitForToolsInGuest, I get an error stating that the virtual machine needs to be powered on.

Any ideas?

The virtual machine needs to be powered on

May 26, 2010 at 11:20 AM

I suggest you ask this question on the VixCOM forum specifying the versions of your ESX environment before and after.