Datamaker Connection Error: Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.
search cancel

Datamaker Connection Error: Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.

book

Article ID: 5192

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When trying to setup a repository connection profile in Datamaker, we are receiving the following error message, despite being able to connect to SQL Server outside the tool: 


Connection failed: 
SQLState: ‘28000’ 
SQL Server Error: 18452 
[Microsft][SQL Native Client][SQL Server]Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection. 

 

We've followed the steps in the documentation for connecting to the SQL Server Repository: https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/test-data-management/4-10/installing/install-test-data-manager/connect-datamaker-to-the-repository.html

Environment

CA Test Data Manager (TDM)- Datamaker

Cause

This error message could be caused by a few different things, so we would normally ask the following troubleshooting questions to narrow down the root cause: 

  1. Did you review any SQL Server or Microsoft knowledge base articles for this error? For example: https://support.microsoft.com/en-us/help/555332/-login-failed-for-user-error-message-when-you-log-on-to-sql-server 
  2. Are you trying to use Windows authentication? 
  3. Do you have SQL Server Management Studio, and can you log in using SQL Server authentication to that user in the error message? 
  4. Is the user enabled for SQL Server authentication? 
  5. Are your TCP/IP settings under SQL Server Manager set up? 
  6. Can you create a DSN-Less connection?
  7. Are you able to connect to the repository using the TDM Portal Web interface?
  8. Did you read the documentation for installing and connecting to the TDM repository? https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/test-data-management/4-10/installing/install-test-data-manager/install-the-repository.html 

Resolution

A common cause we see for this error is that your connection string details or format is incorrect.

For example:
If you have <servername>\SQLEXPRESS when your instance is actually SQLEXPRESS2014, the connection string should be changed to  <servername>\SQLEXPRESS2014

We also highly recommend reviewing the following knowledge documents with your DBA to resolve the issue:

Additional Information

If you experience any further issues, please open a support case by going to https://support.broadcom.com