Welcome to the Alteryx Knowledge Base

Troubleshooting : "Login failed for user" when connecting to an OleDB datasource
user

Created/Edited - 4/23/2026 by John Gonggrijp Dowe | Alteryx

Summary
Understand and troubleshoot the error "Login failed for user" when connecting to an OleDB datasource
Issue

When connecting to an OleDB Datasource using the either the Input Tool or the In-DB Tools, users can encounter the below error message :

 

 

Error opening connect string: Microsoft SQL Server Native Client 11.0: Login failed for user 'user1'.\28000 = 18456
Environment
  • Alteryx Designer
  • Drivers :
    • OleDB Providers for Microsoft SQL Server
Cause

Diagnosis

 

Usually, when testing the Data Connection through the OleDB "Data Link Properties" window they are able to successfully test the connection :

 

JohnGD_2-1576513246060.png

 

However the error message will persist from the canvas.

 

Potential Causes

 

A) When mentioning a username/password combination in a connection string, they need to be extracted in the program calling for it. The 'persist' parameter will need to be set and added to the string so windowsremembers the credentials and they can be extracted in program.


B) For SSPI, when using a service account in a multi node environment: The Worker's RunAs user may not have sufficient access or the incorrect Service account is being used on the worker.



Resolution

Solution A

 

  1. Open the Driver's configuration "Data Link Properties" window
  2. Go to the "All" tab
  3. Identify the Persist Security Infoparameter - at this time it should be set to False
    • JohnGD_0-1576515196199.png
  4. Double-click and on this parameter and set it to True
    • JohnGD_1-1576515334445.png
  5. Apply all the changes
  6. Run the Tool on Designer again



Solution B

For SSPI, when using a service account in a multi node environment, where the connection is successful on other nodes. Verify the RunAs user entered on both a successful worker node and the failing node for comparison. The RunAs user/domain entered into Alteryx System Settings > Worker > Run As is likely not the same, and the failing user has insufficient access to the data source:

 



 

 

 
 
Additional Information
Was this article helpful?