I setup a database profile thru PowerBuilder IDE (2017 R3.) Wnen I check the "Encrypt All Results" option under Security tab (as below screen) and test the connectivity, it throws the error mentioned in second screenshot. Can you help in sorting out the issue? If I uncheck this option and test, the connection is successful.
The complete connection string generated is as:
SQLCA.DBParm = "Release='15',CommitOnDisconnect='No',Sec_Confidential=1"