.NET 4.0 - wodSSHTunnel assembly error - WeOnlyDo Discussion board

.NET 4.0 - wodSSHTunnel assembly error (wodSSHTunnel)

by Mike, Tuesday, October 21, 2014, 22:36 (3686 days ago) @ Jasmine

that is clear now, but it wasn't when i was going through the examples.

So i am using the COM library in a simple console .NET 4.0 application, i setup the code base as in the following example. I can run the sample WinForm ActiveX and create the tunnel, but get an error with the COM.


When i try to open the channel it will silently fail and close the console down. I was able to grab one exception below.

http://www.weonlydo.com/code.asp?did=Tunneling-HTTP-over-SSH
wodSSHTunnel1.Channels.Add(wodSSHTunnelCOMLib.ForwardTypesEnum.LocalListen, "127.0.0.1", 80, "0.0.0.0", 80);
{Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.} System.Exception {System.Runtime.InteropServices.COMException}

Complete thread: