all groups > sql server new users > february 2005 >
You're in the

sql server new users

group:

Problems with linked login...


Problems with linked login... mporter
2/24/2005 12:39:05 PM
sql server new users:
I have followed all the instructions to setup a linked server, yet when I try
to use the link I get the error:

Exception occured in Microsoft OLE DB Provider for SQL Server, Login failed
for user '(null)'. Reason: Not associated with a trusted SQL Server
connection..
ADO Error Code: -2147217900

I have run sp_addlinkedserver (successfully--using sp_linkedservers I can
see the server I created).

I then ran sp_helplinkedsrvlogin and the linked server shows NULL for local
and remote logins with Is Self Mapping = 1. I couldn't tell if this is the
way it is supposed to be for Windows Authentication so I tried running
sp_addlinkedsrvlogin to create a login--but that doen't work either and the
SQL Server Knowledgebase is useless...

Everything I've tried fails...

Mike...

PS: I can query the remote database with no problems if I connect to it
Re: Problems with linked login... Chuck Heinzelman
2/24/2005 11:38:55 PM
It looks like you might be trying to connect using SQL Server authentication
to a server that is only set up for Windows authentication.

--
Chuck Heinzelman - MCSD, MCDBA
(Please respond only to the newsgroups.)

I support the Professional Association for SQL Server and its community of
SQL Server professionals.
www.sqlpass.org

[quoted text, click to view]

Re: Problems with linked login... mporter
2/25/2005 1:23:05 PM
Ok, how do I connect the right way?

Mike...

[quoted text, click to view]
AddThis Social Bookmark Button