Going by the documentation here I've been trying to connect to ESX in several instances. I've tried ESX 3.5 u2, u4 and ESX 4.0. In every single case, I can't connect In the manner described in the documentation, namely:
-using VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER;
-using
I have, however, been able to connect using VixCOM.Constants.VIX_SERVICEPROVIDER_DEFAULT, and using only the direct hostname (ie esx10.example.com) for the hostname value.
The problem, however, is that even once I'm connected using SERVICEPROVIDER_DEFAULT, I can't open any VM's. I've tried opening them with datastore paths, absolute paths, and relative paths. Nothing works.
Does anybody know what's going on here and how I can get connected to ESX and open a VM? All of this code worked perfectly on VMware Server.
I really appreciate any help that anyone can give.