/[AnywhereTS-MSSQL]/trunk/TSAdminTool/frmConfigServices.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/frmConfigServices.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/frmConfigServices.cs	2012/07/12 18:17:31	63
+++ trunk/TSAdminTool/frmConfigServices.cs	2012/07/12 18:56:31	64
@@ -101,7 +101,15 @@
             else if (radTSother.Checked)
                 ATSGlobals.terminalServerConfig = 1;
             else
-                throw new Exception("Undefined terminal servers config. 42001");
+            {
+                string error = "Error: Undefined terminal servers config (42001)";
+                using (log4net.NDC.Push(string.Format("terminalServerConfig={0}", ATSGlobals.terminalServerConfig)))
+                {
+                    Logging.ATSAdminLog.Error(error);
+                }
+                MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("terminalServerConfig={0}", ATSGlobals.terminalServerConfig)));
+                return;
+            }
 
            
             string strPath; // The TFTP path

 

  ViewVC Help
Powered by ViewVC 1.1.22