Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL Server ODBC Data Source Test Failed
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

498 Posts

Posted - 11/02/2012 :  16:21:24  Show Profile  Reply with Quote

User is member of AD grop and that group have permission on database. When this user tried to connect database through ODBC connection he gets following error and cannot connect:

"Microsfot SQL Server Native client version 10.50.4000). Login failed for user 'xxx\1234'. Micorsoft SQL Server native client 10.0.] SQL Server cannot open database "abc" requested by the login. The login failed.

Any help?


Bustaz Kool
Flowing Fount of Yak Knowledge

1834 Posts

Posted - 11/02/2012 :  18:26:38  Show Profile  Reply with Quote
Is the Login "xxx\1234" mapped to a User in the database? Do the Login and the User have the same SID?

We are far more concerned about the desecration of the flag than we are about the desecration of our land. -Wendell Berry
Go to Top of Page

The Chadinator

1974 Posts

Posted - 11/02/2012 :  18:47:02  Show Profile  Visit chadmat's Homepage  Reply with Quote

Go to Top of Page
Starting Member

7 Posts

Posted - 11/05/2012 :  14:21:51  Show Profile  Reply with Quote
look at their default database, they mave have access to databaseA, but when their login was setup the default may be something they do not have access to
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000