I am attempting to use the VIX API 1.60 from a VBS script to connect to a VC 2.5 Server using the VixCOM.VixLib.Connect call with the hostType parameter set to VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER .
I am also leaving the hostName parameter set to Empty which according to spec is a valid thing to do as it will force a connect to localhost. In practice however it fails with error code 18002; "VIX_E_INVALID_HOSTNAME_SPECIFICATION".
I am using a valid Domain Admin userName/password that does work when I hard code in the full DNS of the VC server. I am of course running the script on the Windows server that is hosting the VC server.
What am I missing?