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

Property VixCOM.Constants.VIX_PROPERTY_VM_POWER_STATE returning 1032 or 1096

 Hi there  Using Workstation 6.5 with VixCom 1.6.1.4558.   I am using the VixCom API via C# to automate a single VM as part of a larger Windows based automated testing framework.   The basic process...

View Article


Bug: power-state of a suspended VM is reported as powered-off in VMware Server 2

Hi!  One of the users of my C# wrapper library for VixCOM (http://www.codeplex.com/VixCOMWrapper) noticed a problem in the current implementation: when querying the power-state of a VM using the...

View Article


using vestris starting from aspnet

<![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>  Hi, I’m trying to power on a virtual machine starting from athe web application, that’s say, using ASP.NET. The problem...

View Article

VMX file path format and read permission for the file

The problem we currently have is connecting to VMs using the VIX API. The API has a method VMOpen : ($err, $vmHandle) = VMOpen($hostHandle,$vmxFilePathName); This function opens a virtual machine on...

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


PowerON VM from remote via PSEXEC and API doesn't work

Frame:VMware Workstation 10.0VS-Studio 2012.NET 4.0Windows 7 64bitVestris.VMwareLib.Dll [version 1.7] <-- wrapper for VIX APIInstalled...

View Article

Difference between VIX API TO VSPHERE API

Helloi am a very "green" in vm world and i am trying to create some simple implication c# that will read the data from vcenter about machine and will deploy machine in a future .rom what i have learned...

View Article

Problem with CopyFileFromHostToGuest VIX 1.2 and Server 2.0

Now that I am able to connect, I got my code mostly back to a working state. The only portion failing now is moving the files between the host and guest. Once I get that solved, it should take care of...

View Article


Reading Environment variables problem

 Hi,   I am using ReadVariable with the option VIX_GUEST_ENVIRONMENT_VARIABLE and I am getting blank values. I am logged in as the Administrator.   Note, the two environment variables I can retrieve...

View Article


Fault occuring on use of VIX (Vestris)

I have an application which runs fine on my local development machine but when I run it within a VM (specifically my VI server) I get a fault and my application blows up. This happens on a call to the...

View Article

VIX_E_HOST_USER_PERMISSIONS and VIX_E_VM_NOT_RUNNING errors on VixVM_PowerOn...

 I'm doing stress testing of automation of spin-up and tear-down of many virtual machines on an ESX4u1 system using the vix libraries.  I've noticed the following behaviors that I was hoping someone at...

View Article

Image may be NSFW.
Clik here to view.

VixHost_Connect Problem

Hi from Austria, When i want to run the following code :  #include <string.h>#include "vix.h" VixHandle hostHandle = VIX_INVALID_HANDLE; int main(){VixError err;VixHandle jobHandle =...

View Article

Vix Perl Installation Issues

I'm using the Vix 1.1 API on Ubuntu 7.04, but without much success. The following were my installation steps:\- Downloaded and unpacked the Vix API tar\- Ran vmware-install.pl\- Unpacked the vix-perl...

View Article


vix-perl installation problems

Hi all, I'm having problems installing the vix-perl packages on Windows XP. The first thing i did was installing the ActivePerl-5.8.8.820-MSWin32-x86-274739.msi. Then I started the command prompt of...

View Article

How to Power On a remote host virtual machine

 I am using vix api and vmware workstation.  My scripts in perl and C++ can power on a guest operating system in my computer (localhost).  However, I cannot power on a remote VM in another computer on...

View Article


Non-interactive VMware Tools install with VixVM_InstallTools

 Is there any way to initiate a non-interactive VMware Tools install using VixVM_InstallTools? Currently, the tools install launches a wizard GUI that prompts the user to select installation options....

View Article

Running vmrun on Linux/Windows with ESX

I know VIX 1.6.2 was just released which now supports ESX 3.5u2+ (I believe). I know there are some blogs floating out there about how to use "vmrun.exe" on Windows to manage your Virtual Machines on...

View Article


USB connect/disconnect

Hello! I'm not sure if this belongs in the VIX section of the forums. If it doesn't please show me where in the forums to post instead. What I want to do is simple: I want to be able to connect a USB...

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.

Multithreading in VIX API: more crashes, any news on fixes?

I've been trying to extend our test automation to parallelize against multiple virtual machines. I am using VMWareTasks. I make a connection to a different VM on two threads, then use the handle(s)...

View Article
Browsing all 34639 articles
Browse latest View live


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