I had to mount samba network disks using putty tunnel. I used
http://www.nikhef.nl/~janjust/CifsOverSSH/VistaLoopback.html tutorial in order
to do it. Putty works just fine, but when I open PuTTY Tunnel Manager I got
such error:
==========================================================================
Unhandled exception has occurred in your application. If you click Continue,
the application will ignore this error and attempt to continue. If you click
Quit, the application will close immediately.
Input string was not in a correct format.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at JoeriBekker.PuttyTunnelManager.Tunnel.Load(Session session, String data)
at JoeriBekker.PuttyTunnelManager.Session.Load(String keyName)
at JoeriBekker.PuttyTunnelManager.Core.Initialize()
at JoeriBekker.PuttyTunnelManager.Core.Instance()
at JoeriBekker.PuttyTunnelManager.Forms.TrayIcon.UpdateSessions()
at System.Windows.Forms.ToolStripDropDown.OnOpening(CancelEventArgs e)
at System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
at System.Windows.Forms.ToolStripDropDown.Show(Int32 x, Int32 y)
at System.Windows.Forms.ContextMenuStrip.ShowInTaskbar(Int32 x, Int32 y)
at System.Windows.Forms.NotifyIcon.ShowContextMenu()
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ptman
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1
CodeBase: file:///C:/Program%20Files%20(x86)/PuTTY/ptman.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
==========================================================================
I suspect it happens because in source port field I put 10.255.255.1:44445
instead of just port number which you try to convert to integer.
What version of the product are you using? On what operating system?
PuTTY Tunnel Manager 0.9.1
Windows 7 x64 Pro
P.S. Thank you very much for your app. I really like it.
Original issue reported on code.google.com by pentaw...@gmail.com on 27 Jan 2013 at 1:41
Original issue reported on code.google.com by
pentaw...@gmail.com
on 27 Jan 2013 at 1:41