Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I have a Business Intelligence tool which connects to SQL Server through ODBC Data Source. I created a local SQL user and created a system DSN with SQL Server Authentication. But when I try to connect to SQL Server using this DSN it is giving me an error saying "Login failed for user 'A'". The user is not a domain user.

Can some one help me how to provide access to sql server 2005 to a non domain user.

Thanks,
Uma

What I have tried:

I tried creating a system DSN with SQL Server authentication giving username and password of local user.
Posted
Updated 21-Apr-16 1:03am
v3
Comments
Herman<T>.Instance 21-Apr-16 3:39am    
Is in the ServerProperties under security selected that Server Authentication is set to SQL Server and Windows Authentication mode?
Is the user mentoined in the DSN created as both Login and User?
Does the user have rights enough on the database?
Uma Kameswari 21-Apr-16 6:59am    
Server Authentication is set to SQL Server and Windows Authentication Mode.
User is not a domain user. He is from a different domain.
Enough rights are given on the database.
Herman<T>.Instance 21-Apr-16 7:32am    
Set DoaminName of user before username, so DOMAIN\USERNAME and try again
Uma Kameswari 25-Apr-16 1:45am    
My requirement is i have a short to business intelligence tool. Now I am passing the DSN as command line argument to the shortcut. when i run the shortcut I get error Login failed for user 'A'. my actual user name starts with s.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900