Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Browsing all 34639 articles
Browse latest View live

VIX HostConnect compatbile with VMWare Player hosts?

From looking at the API docs for HostConnect, hostTypeVIX_SERVICEPROVIDER_VMWARE_SERVERorVIX_SERVICEPROVIDER_VMWARE_WORKSTATION. I'm assuming this means that a VIX client cannot connect to a Virtual...

View Article


LoginInGuest() issue with VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT...

 Hi, I'm having problem with the LoginInGuest() function when using the VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT option. Here's the code written in C#: jobHandle =...

View Article


Image may be NSFW.
Clik here to view.

"Invalid user name or password for the guest OS" error in vmrun...

 Hi all,  i have this script  "%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws revertToSnapshot "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" "testovani...

View Article

How to check for directory existence with vmrun?

Hello, I'm porting an existing VIX interface to use vmrun and I cannot find the way to use the DirectoryExistsInGuest with vmrun. Could be that VMware developers forgot it? Is there a workaround?...

View Article

VIX Error 3009 when powering off VMware Player 3.0

Hi! I'm testing VIX API 1.8 with VMware Player 3.0. But sometimes when calling VixVM_PowerOff() I get the error code 3009 - VIX_E_POWEROP_SCRIPTS_NOT_AVAILABLE, with the message "Cannot execute...

View Article


RemoveSnapshot Question

Does RemoveSnapshot function merge (commit) the snapshot data into the VMDK prior to deleting the snapshot?

View Article

VMDK Descriptor

What is the maximum possible length of a disk descriptor file?             Dim ae As New System.Text.ASCIIEncoding()         Dim ar() As Byte = New Byte(1312) {}        Dim i As Integer        For i =...

View Article

Throwing vmodl.fault.RequestCanceled without actually having cancelled a request

I'm running VMware Server 2.0.0, Build 122956, and Vix 1.6.2, Build 127388, on an Ubuntu 8.04.03-LTS system. The setup works reasonably well most of the time - I've been able to do VM management via...

View Article


Guest Logins Via the VIX API

 Hi, All,  The VIX SDK comes with a sample that supposedly allows clients to execute scripts on a guest OS running on a VI server. For some reason, I've not been able to even login to the guest OS, let...

View Article


ntdll crash

Anybody had ntdll.dll problems while using VIX C API? I don't know for sure my problem is caused by VIX. I have a java application that uses the VIX API through JNI. A few times, while it was running a...

View Article

VMware server 2.0 - Insufficient permissions in host operating system

Hi all. I have been struggling with this issue for weeks now. It seems apparent that I'm having file permissions issue, but can't seem to pinpoint it. Any help would be greatly appreciated! The issue...

View Article

Starting up a VM with java

I've been trying to write Java code to startup and login to a Windows Server 2003 VM. However, it doesnt quite seem to work. I'm using the VIX DLL, and using JNA calls to directly invoke the C API...

View Article

Image may be NSFW.
Clik here to view.

Intermittent crashes the Vix API

    We had been experiencing intermittent crashes the Vix API. We recently switched to launching vmrun.exe in a subprocess instead so the Vix API crashes would not kill our application. We have found...

View Article


Where's VIX_SERVICEPROVIDER_VMWARE_PLAYER in 1.10.2?

Greetings, I do not see VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_PLAYER in my Interop.VixCOM.dll built from the 1.10.2.15207 build of VixCOM.dll.  The VIX API reference for 1.10 indicates that it...

View Article

[Urgent] Please help me out - Invalid user name or password on Guest Ubuntu

Hi, Ater searching on Google for 1 week, I have finally came here. please help me out. I have Windows 7 host OS and Ubuntu 11.04 for the Guest OS on running VMWare Workstation 6.5 I have any problem to...

View Article


Vestris.VMWareLib.VMWareException: Insufficient permissions in host operating...

Hello, I am unable to execute the host.open(..) command to return a machine object using the VIX API.Code is like this:             string pathToVM = "[csmrauto1a] " + name + "/" + name + ".vmx";...

View Article

vmrun or vix for Solaris 10 guest

I have a Solaris 10 guest instance and am trying to run commands inside the guest from the host OS. I have been told that vmrun does not support Solaris at this time but they suggested I look into...

View Article


Vix error 28

I am getting an error return 28 on VixJob_Wait.  I am looking in the list of error codes and I don't see it.  Am I missing it or is it not listed?

View Article

how to retrieve path of vmdk files associated to a given VM (name)

How to retrieve list of all the vmdk files and there paths from datastore using any APIs? I know it can be done via VI  API which uses web services. But is there any other way?I could not find a way to...

View Article

Vix_GetProperties VIX_PROPERTY_VM_POWER_STATE bug?

I've tested this with versions 1.10.1 and 1.10.2 against a vCenter 4.1 server and various ESX 4.1 and ESXi 4.1 servers. The returned power state (after making sure the VMware Tools are running) is...

View Article
Browsing all 34639 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>