Saxonite 1.2.11.3
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user