- Minogue Susan
- PowerBuilder
- Thursday, 11 July 2024 12:24 PM UTC
Hi Team,
Thank you in advance for your help on this. We have migrated PowerBuilder Windows application from PB 2017 to PB 2022 R3. We made this migration to enable application to use tls 1.2. We are connecting windows application to Microsoft SQL Server 2014 SP3. Post migration we got SSL security error. Please advise.
In old version we use below,
SQLCA.DBMS ="ODBC"
SQLCA.DBPARM="ConnectString='FILEDSN="+gs_dsn+";IntegratedSecurity=True;database="+gs_db+";PROVIDER=MSDASQL',StripParmNames='YES',CallEscape='No',TrimSpaces='Yes',PBNewSPInvocation='Yes'"
After checking some Appeon community answers we updated to connection string as below for tls 1.2 upgrade.
SQLCA.DBMS ="MSOLEDBSQL"
SQLCA.DBPARM ="ConnectString='FILEDSN="+gs_dsn+";Integrated Security=True;database="+gs_db+";PROVIDER=MSOLEDBSQL',StripParmNames='YES',CallEscape='No',TrimSpaces='Yes',PBNewSPInvocation='Yes'"
But it throws error DB code 18456. below is error message.
I'm using OLEDB driver and same installed on machine. Also, we are able to connect SQL Server using windows auth & SQL auth using SSMS and c#.net apps so SQL server has full permission to login using the testing id.
Please let me know if you need any additional details needed to help us.
Thanks again.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.