VMware Communities
Kam124
Contributor
Contributor

VIX 1.17.0 VIX_E_WRAPPER_SERVICEPROVIDER_NOT_FOUND (22003) for Shared VMs

I’m trying to write a 64-bit C++ application to manage some of Shared Workstation VMs running on a Windows 10 host machine.  My application is using VMware VIX SDK 1.17.0 (build 6661328) to try and access a copy of VMware Workstation Pro 14.1.3 (build 9474260).  The problem is that my VixHost_Connect calls using VIX_SERVICEPROVIDER_VMWARE_WORKSTATION_SHARED always return wrapper error VIX_E_WRAPPER_SERVICEPROVIDER_NOT_FOUND (i.e. 22003).

I looked through the forums and this doesn’t seem to be a unique issue but I still haven’t found a resolution to the problem.  Any help would be greatly appreciated.

I am able to connect and start local (i.e. non-shared) Workstations VMs using a VixHost_Connect calls with host type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION and NULL parameters. The associated vmware-vixWrapper-#####.log file it creates indicates:

vthread-1| I125: Log for VixWrapper pid=### version=1 build=build-6661328 option=Release

vthread-1| I125: The process is 64-bit.

vthread-1| I125: Host codepage=windows-1252 encoding=windows-1252

vthread-1| I125: Host is Windows 8 Enterprise, 64-bit  (Build 9200)

…A bunch of 183 file already exists messages…

vthread-1| I125: Workstation installed version is 14.1.3

vthread-1| I125: Loading Vix implementation library C:\Program Files (x86)\VMware\VMware VIX\\Workstation-14.0.0\64bit\vix.dll

vthread-1| I125: unable to load func Vix_PumpEvents from library C:\Program Files (x86)\VMware\VMware VIX\\Workstation-14.0.0\64bit\vix.dll (127)

When I try to make a similar VixHost_Connect call, this time with host type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION_SHARED, I always get the 22003 error.  The associated vmware-vixWrapper-#####.log file it creates indicates:

vthread-1| I125: Log for VixWrapper pid=### version=1 build=build-6661328 option=Release

vthread-1| I125: The process is 64-bit.

vthread-1| I125: Host codepage=windows-1252 encoding=windows-1252

vthread-1| I125: Host is Windows 8 Enterprise, 64-bit  (Build 9200)

…A bunch of 183 file already exists messages…

vthread-1| I125: No implementation found for service provider 11, apiVersion -1 installedVersion (null)

vthread-1| I125: No Vix library found for provider 11 revision -1, err 22003

The contents of the two different vmware-vixWrapper-#####.log files for VIX_SERVICEPROVIDER_VMWARE_WORKSTATION and for VIX_SERVICEPROVIDER_VMWARE_WORKSTATION_SHARED are the same up until “Workstation installed version is 14.1.3” is reported for the Workstation type and “No implementation found for service provider 11, apiVersion -1 installedVersion (null)” is reported for the Workstation Shared type.

I have already tried reinstalling Workstation and VIX, but the result have not changed.

Reply
0 Kudos
4 Replies
wenwang_myheave
Enthusiast
Enthusiast

Did you have erver met this problem in previous WS version, eg: WS 14.1.2?  And is the host OS "Host is Windows 8 Enterprise, 64-bit " or Windows 10?  Did you install the VIX by workstation installation or VMware VIX SDK?

Reply
0 Kudos
Kam124
Contributor
Contributor

This is all recent development so I haven't tried older versions of Workstation and VIX to see if this was something introduced in the latest version.

The "Host is Windows 8 Enterprise, 64-bit" line surprised me too. It was/is definitely running on a Windows 10 Enterprise machine. I suspect that piece of VIX logging was never updated for the introduction of Windows 10.

I installed VIX via the SDK installer (VMware-VIX-1.17.0-6661328.exe) after installing Workstation.

Reply
0 Kudos
Kam124
Contributor
Contributor

It took some time but I tried making the VixHost_Connect call with VixServiceProvider VIX_SERVICEPROVIDER_VMWARE_WORKSTATION_SHARED (i.e. provider 11) with  VMware VIX 1.15.0 (build 2985596) and VMware Workstation 12.5.7 (build 5813279).  It too failed with the all too familiar vmware-vixWrapper logging:

vthread-4| I125: Log for VixWrapper pid=4640 version=1 build=build-2985596 option=Release

vthread-4| I125: The process is 64-bit.

vthread-4| I125: Host codepage=windows-1252 encoding=windows-1252

vthread-4| I125: Host is Windows 8 Enterprise, 64-bit  (Build 9200)

…A bunch of 183 file already exists messages…

vthread-4| I125: No implementation found for service provider 11, apiVersion -1 installedVersion (null)

vthread-4| I125: No Vix library found for provider 11 revision -1, err 22003

Reply
0 Kudos
Kam124
Contributor
Contributor

Does anyone have a tutorial, sample code or a read me with a VIX_SERVICEPROVIDER_VMWARE_WORKSTATION_SHARED VixHost_Connect call actually working with Workstation 14?

Reply
0 Kudos