troubleshooting Question

SQL SERVER 2005 - Problem with sp_addlinkedsrvlogin

Avatar of GuyHochman
GuyHochmanFlag for Israel asked on
Microsoft SQL Server 2005
3 Comments1 Solution1855 ViewsLast Modified:
When I am executing

USE [master]
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'REAL_DB_SQL', @locallogin = NULL , @useself = N'False', @rmtuser = N'RealCas_RND_remote_server', @rmtpassword = N'RealCas_RND_remote_server'

I get this error :
Msg 15466, Level 16, State 2, Procedure sp_addlinkedsrvlogin, Line 91
An error occurred during decryption.
Msg 15185, Level 16, State 1, Procedure sp_addlinkedsrvlogin, Line 98
There is no remote user 'RealCas_RND_remote_server' mapped to local user '(null)' from the remote server 'REAL_DB_SQL'.

1. RealCas_RND_remote_server  login exisnt on the destanation server and the password is correct
2 both instances services (source and destenation)  started with DOMAIN\sqlservice user that is administrator on the machin
3. both instances (source and destenation) are on the same machin

Thanks in advence
Guy H

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros