Urgent COM Tunnel (wodSSHTunnel)
by Mike D, Tuesday, February 17, 2015, 17:53 (3567 days ago)
Retrieving the COM class factory for component with CLSID {A9982900-33C1-40E0-8A65-7A5DE9A7BABC} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
My host machine i can open a tunnel correctly. I'm receiving this strange error when i deploy my application to different machine.
Is there any information on this or anyway to resolve it?
Urgent COM Tunnel
by Jasmine, Tuesday, February 17, 2015, 17:54 (3567 days ago) @ Mike D
Hi Mike.
Did you register the DLL as administrator on destination machine, using REGSVR32?
Jasmine.
Urgent COM Tunnel
by Mike D, Tuesday, February 17, 2015, 17:59 (3567 days ago) @ Jasmine
Not sure, how i would do this?.
I compiled an application as a software client with the Tunnel libraries, to be used on multiple User (destination) computers.
Urgent COM Tunnel
by Jasmine, Tuesday, February 17, 2015, 18:01 (3567 days ago) @ Mike D
Hi Mike.
Can you please check out steps under 'distribution note' in
http://www.weonlydo.com/SSHTunnel/Help/wodTunnel-Technical-information.html
and make sure you copy and register it on destination system?
Jasmine.
Urgent COM Tunnel
by Mike D, Tuesday, February 17, 2015, 19:40 (3567 days ago) @ Jasmine
The distribution notes are bit confusing to me, is there an easy set of step I could do to automate a deployment to User machines. How could i do this?
Would i copy the following dlls to C:\Windows\System32 folder?
wodKeys.DLL
wodTunnel.dll
wodTunnel.exe
wodTunnel.ocx
Next step.?
Urgent COM Tunnel
by Jasmine, Tuesday, February 17, 2015, 20:00 (3567 days ago) @ Mike D
Hi Mike.
You don't need all those DLLs. Based on the code you provided in other post, I think you need only wodTunnel.dll.
So, copy wodTunnel.dll to SYSTEM32 (or SYSWOW64 if it's x64 machine) and issue REGSVR32 on it.
That's all needed!
I hope it helps,
Jasmine.
Urgent COM Tunnel
by Mike D, Tuesday, February 17, 2015, 20:45 (3567 days ago) @ Jasmine
So, just to confirm copy wodTunnel.dll to SYSTEM32 (or SYSWOW64)
Then run command line REGSVR32 on path.
REGSVR32 C:\Windows\System32\wodTunnel.dll (32 bit)
REGSVR32 C:\Windows\SysWOW64\wodTunnel.dll (64 bit)
Urgent COM Tunnel
by Jasmine, Tuesday, February 17, 2015, 20:50 (3567 days ago) @ Mike D
Yes, that is correct. Note that 64bit version of wodTunnel has name wodTunnel64.dll, so one that you put in SYSTEM32 (on x64 machines) should actually be
REGSVR32 wodTunnel64.dll
Jasmine.
Urgent COM Tunnel
by Mike D, Tuesday, February 17, 2015, 17:57 (3567 days ago) @ Mike D
WodTunnel = new wodSSHTunnelCOMLib.wodTunnelCom();
WodTunnel.ProxyType = ProxyTypes.ProxyWEBStandard;
WodTunnel.ProxyHostname = proxyHostIpAddress;
WodTunnel.ProxyPort = proxyHostPortNumber;
WodTunnel.Login = destinationUserName;
WodTunnel.Password = destinationPassword;
WodTunnel.Timeout = 0;
WodTunnel.LicenseKey = "mykey";
WodTunnel.Connect(this.DestinationIpAddress, 22, ProtocolsEnum.SSHAuto);