Hello,
I am unable to execute the host.open(..) command to return a machine object using the VIX API.
Code is like this:
I get this stacktrace:
Vestris.VMWareLib.VMWareException: Insufficient permissions in host operating system
at Vestris.VMWareLib.VMWareInterop.Check(UInt64 errCode)
at Vestris.VMWareLib.VMWareJob.Wait[T](Object[] properties)
at Vestris.VMWareLib.VMWareJob.Wait[T](Object[] properties, Int32 index, Int32 timeoutInSeconds)
at Vestris.VMWareLib.VMWareJob.Wait[T](Int32 propertyId, Int32 timeoutInSeconds)
at Vestris.VMWareLib.VMWareVirtualHost.Open(String fileName, Int32 timeoutInSeconds)
at Vestris.VMWareLib.VMWareVirtualHost.Open(String fileName)
at VMESX.VMESX.openMachine(String name) in C:\VMESX\VMESXControl\VMESX\VMESX\VMESX.cs:line 55
Successfully disconnected from host!!
I've verified that the connection is active by testing it during execution.
The VM admin gave my user administrator privileges.
Any idea what is causing this permissions problem?
Thanks,
Mark Meninger