VMware {code} Community
p_sudheer
Contributor
Contributor

Using VIX API 1.5 and VMWare Server 2.0 Beta 2

I am using the the following syntax to connect to VMware Server Host

VIX_API_VERSION = 4;

VIX_SERVICEPROVIDER_VMWARE_VI_SERVER = 10

VixHandle job = VixHost_Connect(VIX_API_VERSION, VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER, "https://localhost:8333/sdk", 0, "user", "pw", 0, 0,null, null);

The output i get is:

VmhsHostInfoPopulateSystem: Could not get model of host.

VmhsHostInfoPopulateSystem: Could not get vendor of host.

VMHS: Failed to load vmnetMgr.dll

I get the above errors.What additional information i need to provide to connect suucessfully to VMWare Server 2.0

Also,What is the correct syntax of using VixHost_Connect() method.(Should i use VIX_SERVICEPROVIDER_VMWARE_VI_SERVER or VIX_SERVICEPROVIDER_VMWARE_SERVER)

Reply
0 Kudos
1 Reply
pLdsen
Contributor
Contributor

I have the same Error using VIX-Perl 1.5 on Windows with VMware Server 1.0.5.

Im Using VIX_SERVICEPROVIDER_VMWARE_SERVER for hostType