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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 linked sql servers login failing

Author  Topic 

qwertyjjj
Posting Yak Master

131 Posts

Posted - 2007-07-17 : 06:36:18
Server1 sa password is password1
server2 sa password is password2

I can't execute sql with linked server tables because the login fails for sa.
When I setup a login with the same password on both servers, it's fine.
Is there a way to save the password?

I used sp_add_linked_server to generate the link between them.

Server: Msg 18456, Level 14, State 1, Procedure InsertOutstandingInvoices, Line 6
Login failed for user 'sa'.

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-07-17 : 12:04:07
dup: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=86486

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page
   

- Advertisement -