dbTalk Databases Forums  

ODBC failure

comp.databases.ms-access comp.databases.ms-access


Discuss ODBC failure in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mcolson
 
Posts: n/a

Default ODBC failure - 05-04-2010 , 08:31 AM






I am getting the following error when trying to open a linked to sql
table in access.

Connection Failed
sqlstate 28000 sql
server error 18456

Login failed for user(Windows Authentication ID)

I set up the ODBC to use "SQL server authentication using a login ID
and password entered by user". I checked "Connect to SQL Server to
obtain default settings for the additional configuration options". I
then used a login ID that exists in SQL. When I test the connection
it works. But when I call it from Access, it reverts back to using
the user's Windows Authentication. After clicking OK, a message box
appears for connecting to sql. It shows the user ID set up in ODBC
with no password. If I uncheck the box and enter the password, it
then works... I'm stumped.

Reply With Quote
  #2  
Old   
Albert S.
 
Posts: n/a

Default Re: ODBC failure - 06-04-2010 , 04:32 PM






Hello,

Are you using a connect string in Access? If so, what is it. Also are you
using TCP/IP (under Client configuration)?

Albert

"mcolson" <mcolson1590 (AT) gmail (DOT) com> wrote

Quote:
I am getting the following error when trying to open a linked to sql
table in access.

Connection Failed
sqlstate 28000 sql
server error 18456

Login failed for user(Windows Authentication ID)

I set up the ODBC to use "SQL server authentication using a login ID
and password entered by user". I checked "Connect to SQL Server to
obtain default settings for the additional configuration options". I
then used a login ID that exists in SQL. When I test the connection
it works. But when I call it from Access, it reverts back to using
the user's Windows Authentication. After clicking OK, a message box
appears for connecting to sql. It shows the user ID set up in ODBC
with no password. If I uncheck the box and enter the password, it
then works... I'm stumped.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.