--
You received this message because you are subscribed to the Google Groups "vmwaretasks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmwaretasks...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg - artsy.net - github/dblock
Which version of VixCOM do you have on your machine?There's an old discussion here: http://communities.vmware.com/thread/119735?start=0&tstart=0, but then we had an open workitem a long time ago here: http://vmwaretasks.codeplex.com/workitem/9639.I would try the raw VixCOM automation in VBScript or something like that to start, to make sure that works, then move up the stack to make sure VMWareTasks work with that.
I'm using VMWareTasks to try and simply spin up a new VMWare Player to run a BlackBerry 10 VM. Code is as follows, and builds without issue:
VMWareVirtualHost virtualHost = new VMWareVirtualHost();// connect to a local (VMWare Workstation) virtual machinevirtualHost.ConnectToVMWarePlayer();// open an existing virtual machineVMWareVirtualMachine virtualMachine = virtualHost.Open(@"C:\Users\My.User\Documents\Virtual Machines\BlackBerry10Simulator-BB10_1_X-1483\BlackBerry10Simulator.vmx");// power on this virtual machinevirtualMachine.PowerOn();However, I throw the following exception, without fail, When the 'ConnectToVmWarePlayer()' is invoked:Retrieving the COM class factory for component with CLSID {6874E949-7186-4308-A1B9-D55A91F60728} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I'm pretty sure this means that the unlying VMWareTasks cannot find the VIX libraries, which I have confirmed are installed. This is an x64 project... I pulled the GitHub source and build the codebase and used those DLLs and I'm still seeing it, and I am pretty sure the code up on GitHub is not building to x32. Would appreciate any insight into the issue.--
You received this message because you are subscribed to the Google Groups "vmwaretasks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmwaretasks...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
VMware Player 5.0.2 build-1031769
Yeah, my visual studio project errors out with the original error if I set the platform type to Any CPU, but if I set it manually to x86 it gives me a different error, about not finding the right version (maybe I’m using a too-new version of VMWare player?)
{"The specified version was not found"}
at Vestris.VMWareLib.VMWareInterop.Check(UInt64 errCode)
at Vestris.VMWareLib.VMWareJob..ctor(IJob job, VMWareJobCallback callback)
at Vestris.VMWareLib.VMWareVirtualHost.Connect(ServiceProviderType serviceProviderType, String hostName, Int32 hostPort, String username, String password, Int32 timeout)
So I guess I have two issues: One, in the version 1.11 I have of VIX, I can’t seem to get the DLL to be registered as an x64 DLL, two, if I force the project to be 32 bit, it can’t seem to find my player.
--
You received this message because you are subscribed to the Google Groups "vmwaretasks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmwaretasks...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.