search cancel

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


Article ID: 5192


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


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:


CA Test Data Manager (TDM)- Datamaker


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: 
  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? 


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