IBM Support

** Troubleshooting ** "jdbc.SQLServerException: Login failed for user 'username'..." error when connecting via JDBC in 'Database Connections'

Troubleshooting


Problem

User launches 'Cognos Configuration' and opens 'Database Connections'.
  • User clicks green 'tick' button, and tests database connection OK.
User then clicks the green 'play' button (to launch the 'database conversion utility' menu)
  • User clicks 'Connect'
  • An error appears.

Symptom

Standard non-JAVA database connection works OK:
image-20190624144828-1
Connection succeeded
  
However, Java (JDBC) connection fails with error:
image-20190624144932-2
** ERROR: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'username'
ClientConnectionID:756xxxxx-xxxxx-xxxx

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.4.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
09 May 2025

UID

ibm10956465