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

Diff of /trunk/TSAdminTool/frmAdmin.cs

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

--- trunk/TSAdminTool/frmAdmin.cs	2012/07/15 13:17:36	153
+++ trunk/TSAdminTool/frmAdmin.cs	2012/07/15 13:27:58	154
@@ -764,21 +764,21 @@
 
             // Setup managed mode. This can alternatively be set from frmConfigMode, but this form is now disabled
             // Create Datbase directory
-            string dataDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\AnywhereTS";
-            try
-            {
-                Directory.CreateDirectory(dataDir);
-            }
-            catch (Exception ex)
-            {
-                this.Cursor = Cursors.Default;
-                MessageBox.Show("Could not create directory '" + dataDir + "'. Error: " + ex.Message);
-                using (log4net.NDC.Push(string.Format("directory={0}", dataDir)))
-                {
-                    Logging.ATSAdminLog.Error("Could not create directory.");
-                }
-                return false;
-            }
+            //string dataDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\AnywhereTS";
+            //try
+            //{
+            //    Directory.CreateDirectory(dataDir);
+            //}
+            //catch (Exception ex)
+            //{
+            //    this.Cursor = Cursors.Default;
+            //    MessageBox.Show("Could not create directory '" + dataDir + "'. Error: " + ex.Message);
+            //    using (log4net.NDC.Push(string.Format("directory={0}", dataDir)))
+            //    {
+            //        Logging.ATSAdminLog.Error("Could not create directory.");
+            //    }
+            //    return false;
+            //}
 
             ATSGlobals.managedMode = 1; // We are running in Managed Mode
 

 

  ViewVC Help
Powered by ViewVC 1.1.22