/[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 14:17:14	46
+++ trunk/TSAdminTool/frmConfigServices.cs	2012/07/12 18:56:31	64
@@ -26,7 +26,7 @@
 
         private void frmConfigureMode_Load(object sender, EventArgs e)
         {
-            this.Cursor = Cursors.WaitCursor;
+            //this.Cursor = Cursors.WaitCursor;
             
             tftpUncPaths = new List<string>(); // Create a list for the TFTP UNC paths.
 
@@ -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