You're welcome - I forgot to mention that the registry key might be set to 004 or 000 to make it work. If I remember correctly, it also required a Server restart to become effective.
Original Message:
Sent: Mon January 29, 2024 03:37 AM
From: Dario Stjepanović
Subject: Connecting JDBC driver to MSSQL 2019 server
Dear Johann,
Thank You for your answer. We will try both options and see if we get lucky.
------------------------------
Dario Stjepanović
Original Message:
Sent: Mon January 29, 2024 01:36 AM
From: Johann Rumpl
Subject: Connecting JDBC driver to MSSQL 2019 server
Hi Dario,
I'm not familiar with Integration composer, but the error message is something I've seen too often in the Maximo space recently.
The current fix which works (for Maximo 7.6.1.3) can be found here: https://www.ibm.com/support/pages/maximo-asset-management-upgrade-7613-fails-microsoft-sql-server-database-0
As you can see the idea is to add an "encrypt=false" parameter to the JDBC connect string. If you're lucky enough to have access to the JDBC string it will be worth a try.
The second option which worked with previous Versions of Maximo down to 6.2 is to update a specific security setting in the Windows Registry of the SQL Server:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman]
"ServerMinKeyBitLength"=dword:00000800
Source: https://docs.microsoft.com/en-us/security-updates/SecurityAdvisories/2016/3174644
It is not the most elegant and high secure option, but in certain cases we had no other choice.
Hope this helps
------------------------------
Johann Rumpl
Maximo Senior Consultant
EAM Swiss GmbH
Steinmaur
Switzerland
Original Message:
Sent: Fri January 26, 2024 04:00 AM
From: Dario Stjepanović
Subject: Connecting JDBC driver to MSSQL 2019 server
Hi everyone, I'm not sure if this is a good group for our problem. I hope that you can help us.
We have a problem connecting with JDBC driver to MSSQL 2019 server. Tried with many combinations and solutions but always same error. Also tried with SQLJDBC41 driver but same again. Java version is 7. The print screen of our problem. Does anyone have any idea?
------------------------------
Dario Stjepanović
------------------------------