Saxonite 1.2.11.3

This commit is contained in:
Andy Howard
2024-03-27 15:05:33 +00:00
parent 2239f37408
commit 496aaeee0b
6 changed files with 28 additions and 6 deletions
@@ -109,9 +109,11 @@ namespace Sarand.Net.Standard.Dbas.Base
connectionString += "UID=" + config.user + ";";
connectionString += "PWD=" + config.pword + ";";
}
connectionString += (String)"Trusted_Connection=" + (config.user.IsEmpty() ? "Yes" : "No") + ";";
connectionString += "Trusted_Connection=" + (config.user.IsEmpty() ? "Yes" : "No") + ";";
// Mar24 Added to avoid 'The certificate chain was issued by an authority that is not trusted'.
connectionString += "TrustServerCertificate=Yes;";
// Multiple Active Result Sets.
connectionString += "MARS_Connection=yes;";
connectionString += "MARS_Connection=Yes;";
//if (iQueryLogTime > 0)
// connectionString += "QueryLogTime="+String(iQueryLogTime)+";";
//if (iCommandTimeout > 0)
@@ -128,7 +130,9 @@ namespace Sarand.Net.Standard.Dbas.Base
connectionString += "User Id=" + config.user + ";";
connectionString += "Password=" + config.pword + ";";
}
connectionString += (String)"Trusted_Connection=" + (config.user.IsEmpty() ? "Yes" : "No") + ";";
connectionString += "Trusted_Connection=" + (config.user.IsEmpty() ? "Yes" : "No") + ";";
// Mar24 Added to avoid 'The certificate chain was issued by an authority that is not trusted'.
connectionString += "TrustServerCertificate=Yes;";
}
// Populate configuration values if blank.