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

Document ID : KB000005192
Last Modified Date : 14/02/2018
Show Technical Document Details

When trying to setup a repository connection profile in Datamaker, I am 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. 

I followed these 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 login 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. 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>\sqlserver2014. 

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