409 |
{ |
{ |
410 |
CloseServer(server); |
CloseServer(server); |
411 |
} |
} |
412 |
catch |
catch (Exception e) |
413 |
{ |
{ |
414 |
MessageBox.Show("Error could not close terminal server connection (63210)"); |
MessageBox.Show("Error could not close terminal server connection (63210)"); |
415 |
|
using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString()))) |
416 |
|
{ |
417 |
|
Logging.ATSAdminLog.Error("Error could not close terminal server connection (63210)"); |
418 |
|
} |
419 |
} |
} |
420 |
} |
} |
421 |
return ret; |
return ret; |
477 |
{ |
{ |
478 |
CloseServer(server); |
CloseServer(server); |
479 |
} |
} |
480 |
catch |
catch(Exception e) |
481 |
{ |
{ |
482 |
MessageBox.Show("Error could not close terminal server connection (63210)"); |
MessageBox.Show("Error could not close terminal server connection (63210)"); |
483 |
|
using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString()))) |
484 |
|
{ |
485 |
|
Logging.ATSAdminLog.Error("Error could not close terminal server connection (63210)"); |
486 |
|
} |
487 |
} |
} |
488 |
} |
} |
489 |
return ret; |
return ret; |