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.
Thank you for above. we have checked the config and everything as expected. Could you please check my connection string above and advise. Also, we were able to connect database profile in Appeon PowerBuilder 2022.
The TLS 1.n protocol setting is handled at the network layer and thus, is not a related DBParm setting.
If I recall though TLS 1.3 is supported by the W11 O/S. I think that you can still use it in W10 with some special configuration (registry maybe)?
I would talk to your O/S and/or Network Support Teams for more details on the client side TLS1.3 support.
Regards .. Chris