TS Admin Exception

Topics: User Forum
Dec 19, 2007 at 10:14 PM
Hello,

Thanks for the great program first off.

I recently tried to use the TS Admin tab on Networking tools and received the following exception error.

                            • Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Terminals.TerminalServices.TerminalServicesAPI.GetSessions(String ServerName) in c:\Source\Repository\mscorlibcom\working\Terminals\Terminals\TerminalServices\TerminalServicesAPI.cs:line 193
at Terminals.TerminalServices.TerminalServer.LoadServer(String ServerName) in c:\Source\Repository\mscorlibcom\working\Terminals\Terminals\TerminalServices\TerminalServer.cs:line 12
at Terminals.Network.Servers.TerminalServerManager.button1_Click(Object sender, EventArgs e) in c:\Source\Repository\mscorlibcom\working\Terminals\Terminals\Network\Servers\TerminalServerManager.cs:line 33
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
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.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Terminals
Assembly Version: 1.6.0.0
Win32 Version: 1.6.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/Terminals.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Windows.Forms/2.0.0.0_b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System/2.0.0.0_b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Drawing/2.0.0.0_b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/log4net.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Configuration/2.0.0.0_b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Xml/2.0.0.0_b77a5c561934e089/System.Xml.dll
----------------------------------------
TabControl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/TabControl.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC32/System.Data/2.0.0.0_b77a5c561934e089/System.Data.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.4.369
Win32 Version: 0.85.4.369
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/ICSharpCode.SharpZipLib.DLL
----------------------------------------
VncSharp
Assembly Version: 0.9.0.0
Win32 Version: 0.9.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/VncSharp.DLL
----------------------------------------
AxInterop.MSTSCLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/AxInterop.MSTSCLib.DLL
----------------------------------------
mod49yck
Assembly Version: 1.6.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System/2.0.0.0_b77a5c561934e089/System.dll
----------------------------------------
wvo44utc
Assembly Version: 1.6.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System/2.0.0.0_b77a5c561934e089/System.dll
----------------------------------------
Interop.MSTSCLib6
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/Interop.MSTSCLib6.DLL
----------------------------------------
Interop.MSTSCLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/Interop.MSTSCLib.DLL
----------------------------------------
Metro
Assembly Version: 1.0.3.0
Win32 Version: 1.0.3.0
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/Metro.DLL
----------------------------------------
ZedGraph
Assembly Version: 5.1.1.428
Win32 Version: 5.1.1.428
CodeBase: file:///C:/Users/jamesm/Desktop/Terminals-Head/ZedGraph.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GACMSIL/System.Management/2.0.0.0_b03f5f7f11d50a3a/System.Management.dll
----------------------------------------


Any ideas on if it's just me, or something else?

TIA