267 |
|
{ |
268 |
|
using (log4net.NDC.Push(string.Format("SQL Statment={0}", "SELECT value from AnywhereTS..AppInfo where property='version'"))) |
269 |
|
{ |
270 |
< |
Logging.ATSAdminLog.Debug("Gettting AnywhereTS Database Version"); |
270 |
> |
Logging.ATSAdminLog.Debug("Getting AnywhereTS Database Version#1"); |
271 |
|
sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString); |
272 |
|
if (sqlCon.State != ConnectionState.Open) sqlCon.Open(); |
273 |
|
sqlCmd = new SqlCommand("SELECT value from AnywhereTS..AppInfo where property='version'", sqlCon); |
298 |
|
|
299 |
|
using (log4net.NDC.Push(string.Format("SQL Statment={0}", "SELECT value from AnywhereTS..AppInfo where property='version'"))) |
300 |
|
{ |
301 |
< |
Logging.ATSAdminLog.Debug("Gettting AnywhereTS Database Version"); |
301 |
> |
Logging.ATSAdminLog.Debug("Getting AnywhereTS Database Version#2"); |
302 |
|
sqlCon = new SqlConnection(Properties.Settings.Default.atsConnectionString); |
303 |
|
if (sqlCon.State != ConnectionState.Open) sqlCon.Open(); |
304 |
|
sqlCmd = new SqlCommand("SELECT value from AnywhereTS..AppInfo where property='version'", sqlCon); |