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

Diff of /trunk/TSAdminTool/frmConfigMode.cs

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

--- trunk/TSAdminTool/frmConfigMode.cs	2012/07/12 14:17:14	46
+++ trunk/TSAdminTool/frmConfigMode.cs	2012/07/12 18:56:31	64
@@ -20,7 +20,7 @@
 
         private void Mode_Load(object sender, EventArgs e)
         {
-            this.Cursor = Cursors.WaitCursor;
+            //this.Cursor = Cursors.WaitCursor;
             if (ATSGlobals.configured == 0)
             {  // ATS not configured yet
                 radManagedMode.Checked = true;
@@ -129,7 +129,14 @@
             }
             else
             {
-                throw new Exception("Error: Unknown mode (84377)");
+                string error = "Error: Unknown mode (84377)";
+                using (log4net.NDC.Push(string.Format("mode={0}", ATSGlobals.managedMode)))
+                {
+                    Logging.ATSAdminLog.Error(error);
+                }
+                MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("mode={0}", ATSGlobals.managedMode)));
+                return;
+
             }
             // Save the database directory to registry
             ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();

 

  ViewVC Help
Powered by ViewVC 1.1.22