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)
 Cannot delete linked server login
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

498 Posts

Posted - 03/18/2013 :  16:59:47  Show Profile  Reply with Quote
I tried to drop linked server login mentioned in linked server propeerties->security. When I clicked a login and selected delete, it process successfully. When I open again linked server properteis, this login is still there. I used both GUI and command line:
sp_droplinkedsrvlogin [ @rmtsrvname= ] 'rmtsrvname' ,
[ @locallogin= ] 'locallogin'

nothing works. There is no error. Any help.


Posting Yak Master

160 Posts

Posted - 03/21/2013 :  08:29:01  Show Profile  Reply with Quote
If you are no longer using this user, delete it from Main Security either. Restart the services and try to see if it still exists, sometimes it works.
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.02 seconds. Powered By: Snitz Forums 2000