When trying to connect Cognos to your SQL Server, you may see an error like the following:
SQL Server did not return a response. The connection has been closed.
If your SQL Server is configured to communicate only via TLS 1.2, you will see connection errors until you take a few additional steps to configure Cognos to support only TLS 1.2.
Solution
The following steps can be taken to configure Cognos to communicate only via TLS 1.2.
- Download and install the Unrestricted SDK JCE policy files, which can be obtained from IBM’s website.
NOTE: You will be required to create an IBM login to download these files.
- Once downloaded, the files must be extracted to the Cognos installation location. By default, this location is: C:\Program Files\ibm\cognos\analytics\jre\lib\security
- Add the SHA256 cipher suites in the IBM Cognos Configuration utility. In the IBM Cognos Configuration utility, go to Security > Cryptography. Then select SSL Protocols to edit and set this to TLS 1.2, as seen in the image below.
Then go to Security > Cryptography > Cognos, select Supported ciphersuites to edit, and add all the ciphersuites with SHA256. - Close the IBM Cognos Configuration utility.
- Open the bin64 folder under the Cognos installation directory. By default the location is: C:\Program Files\ibm\cognos\analytics\bin64
- Locate startwlp.bat. and open this in a text editor. Then, find the following line:
set JVM_ARGS=-Xmx4096m -XX:MaxNewSize=2048m -XX:NewSize=1024m %DEBUG_OPTS% - After this line, add the following:
set JVM_ARGS="-Dcom.ibm.jsse2.overrideDefaultTLS=true" %JVM_ARGS% - Save and close the file.
- Locate bootstrap_wlp_os_version.xml. Open this in a text editor and find the following line: <param condName="${java_vendor}" condValue="IBM">-Xscmaxaot4m</param>
- After this line, add the following:
<param>"-Dcom.ibm.jsse2.overrideDefaultTLS=true"</param> - Save and close the file.
- Locate cogconfig.bat. Open this in a text editor and find the following line:
set J_OPTS=%DD_OPTS% %J_OPTS% - After this line, add the following:
set J_OPTS="-Dcom.ibm.jsse2.overrideDefaultTLS=true" %J_OPTS% - Save and close the file.
- Start the IBM Cognos Configuration utility using the cogconfig.bat you modified in the previous step.
IMPORTANT: You must start IBM Cognos Configuration using cogconfig.bat.
- In the IBM Cognos Configuration utility, go to Data Access > Content Manager > Content Store.
- Right-click on Content Store and choose Test. This should now be successful.
After these steps, the test connection should be successful, and the Cognos services can be started. FlexNet Manager Suite Analytics should now be accessible.
If you do not see any of the data in the reports or widgets loading, you may need to take additional steps to set a JVM argument for the QueryService to use TLS. The IBM article below details these settings. If you do not see these settings in the Admin Console, please open a support case for Flexera support to assist with getting access to these settings.
For more information on this issue, refer to the following IBM article: Connection to SQL Server fails when the server is configured to use TLS 1.2 or connecting to SQL Server 2016.
Related Articles
SQL Server edition not recognized if SQL Server WMI provider is inaccessible 114Number of Views Error 27502. Could Not Connect To Microsoft SQL Server Using TLS 1.2 (Transport Layer Security 1.2) 134Number of Views Handshake failed. Cannot connect to server. No endpoint can establish a connection to the server. 275Number of Views Restore FlexNet Manager Suite databases on a new SQL Server instance 61Number of Views Configure ARL import to use proxy server without using Internet Explorer settings 45Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago