Urgent COM Tunnel (wodSSHTunnel)

by Mike D @, (3772 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?

locked

Urgent COM Tunnel

by Jasmine, (3772 days ago) @ Mike D

Hi Mike.

Did you register the DLL as administrator on destination machine, using REGSVR32?

Jasmine.

locked

Urgent COM Tunnel

by Mike D @, (3772 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.

locked

Urgent COM Tunnel

by Mike D, (3772 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.?

locked

Urgent COM Tunnel

by Jasmine, (3772 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.

locked

Urgent COM Tunnel

by Mike D, (3772 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)

locked

Urgent COM Tunnel

by Jasmine, (3772 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.

locked

Urgent COM Tunnel

by Mike D @, (3772 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);

locked