Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Problem with PowerOff() and PowerState

$
0
0

Hi,

 

I am using VMware VIX 1.11.0.18997 with VMware Server.

 

Sometimes when I try to stop machine by calling method VMWareVirtualMachine.PowerOff() it throw an exception "Timeout has expired" (but at WMvare Server machine really stops) and then machine property 'PowerState' may be 8 or 1032 ('IsRunning' property is true) that is VIX says me that machine is running and I cannot start machine again by calling PowerOn() (method is executed but the machine does not start).

 

How could I solve this problem? And what does 8 and 1032 power states mean?

 

In general all is okey, this exception is thrown in 5..10 percents of all PowerOff() calls, but it is vary unpleasant.

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 34639

Trending Articles