Problems wrapping C API in C# - invalid parameters
Hi all, In attempting to wrap the C VIX API in C#, I am getting error 3 back from the VIX API, that "One of the parameters was invalid" Let's take VixHost_Connect() for example, the rest of my...
View ArticleVIX - Perl on Windows
Hey, does anyone ever successfully installed VIX - Perl on Windows? Im using Active State Perl on Windows Server 2003 RC2, but always having Problems with building VIX - Modules. Does anyone...
View ArticleGuest Tools Is Not Running
Configuration: VMWare Server 2.0 Beta VixCom 1.5 I use a guest VM to perform automated tests. My tests will fail with "Guest tools is not running" fairly regularly. This happens even...
View ArticleRuntimeFault: Database temporarily unavailable or has network problems.
RuntimeFault: Database temporarily unavailable or has network problems. I always received that message when creating new Administrator from local users in Linux or adding user permission on a...
View ArticleReading 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 Articlestop soft doesn't close Ubuntu guest down gracefully
Hi. I'm running Workstation v6.5.1 on a 32-bit Windows XP host. The following script to close down all running guests works, except for one problem: for /f "usebackq skip=1" %%i in (`"c:\Program...
View ArticleVIX 1.6.2 Bug Report: recv error 10054
I have found that running the snapshot.c sample code against a VMware Server 2 host produces the following error on the host when the program is closed: SOCKET 3 (1848) recv error 10054: An existing...
View ArticleVmrun runProgramInGuest Issue with Parameters
I am using vmrun 6.5.2 to run a testing tool in the guest. It takes 3 parameters in this case. A path to a project suite to open (1), a command (/run) to run tests (2) and the name of the project...
View ArticleAdding VM re-alignment to SVMotion - which API?
Hi, I have contacted the author of the Storage vMotion Plugin regarding the feasibility of adding the option to re-align VMs as a part of the Storage vMotion process. I happen to have my misaligned...
View ArticleProblem with running LoginInGuest with...
Hi, I have trouble running LoginInGuest with VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT option. I want to run a GUI apllication in VM, and need to use this option according to the vix api....
View ArticleRunProgramInGuest program unvisible on windows 2008 r2 64bit os
I meet a proble when using RunProgramInGuest, the program is unvisible on win2008 r2 64 bit os. The Esx server version is 3.5i, the VIX is 1.6.2. Below is the sample code, Set job =...
View ArticleRemoteInstall Test Framework based on VIX API
I see a lot of people trying to automate test tasks with Vix API. Well, we were too That's how I ended up writing VMWareTasks. Today I am happy to announce the open sourcing of RemoteInstall test...
View ArticleVMware 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 Articlehow can i clone a vmware machine on ESXi?
Hi i have ESXi server. I am using VSphere Client to connect to VCenter Server. I can see the clone option is available in VCenter Server. I am using VIX API to crate snapshot, copy data into guest, run...
View ArticleVix API - Connect to ESX/VCenter using SessionID, instead of username-password?
There is a VIX API to connect to a ESX or vCenter using the following API: VixHandle VixHost_Connect(int apiVersion, VixServiceProvider hostType, const char *hostName, int hostPort, const char...
View ArticleRunProgramInGuest
Hi friends: I try to execute a program (*.exe) that is a script made for me. This program at the end create a file. I execute it manually and it finish and create the file successfully, but if I...
View ArticleFail to open VM
Hi, I am very new to VIX and I was trying some of the sample on my machine.However, I am always seeing the hostHandle return as 0 after the VixHost_connect/VixJob_Wait call . As the result, the next...
View ArticleCloning vith VIX API
Hi all, with VMware Workstation and the VIX API, I was able to clone a VM.On clone method, I miss a parameter zu enter the VM name. After cloning, the property "VIX.Enums.VIX_PROPERTY.VM_NAME" shows...
View ArticleSample Code to test VIX install
#include "vix.h"#include <stdlib.h>#include <stdio.h>VixHandle hostHandle = VIX_API_VERSION;VixHandle jobHandle = VIX_INVALID_HANDLE;VixError err;jobHandle =...
View ArticleVixVM_Open() returns error "The datastore corresponding to the given...
In one of our setup, VixVM_Open() API call returns error "The datastore corresponding to the given datastore path is not found."The returned error code is 38. The specified vmx path as input to...
View Article