Re: The user does not have permission to perform this action.



kalaivanan (mail2kalai@xxxxxxxxx) writes:
I am getting the following error while trying to add a remote server.

The user does not have permission to perform this action.

The command i used is:
exec sp_addlinkedserver 'remote_server_name'

What is the solution?

Books Onlines says about permissions for sp_addlinkedsever:

Execute permissions default to members of the sysadmin and setupadmin
fixed server roles.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Permissions!
    ... be aware that 'dbo' is a special user that has full permissions. ... Database permissions are not checked for the 'dbo' user so it serves no ... You will need individual logins/users so that SQL Server can identify users ... EXEC sp_addrole 'Role1' ...
    (microsoft.public.sqlserver.security)
  • Re: Complete Neophyte Question(s)
    ... stored procedures it will have that role listed with execute permissions. ... permissions/security model in SQL Server 2005 has baffled me thus far. ... an object to a schema owned by someone else, ... in Books Online, but admittedly Books Online is surprisingly thin on ...
    (microsoft.public.sqlserver.security)
  • Re: Complete Neophyte Question(s)
    ... When I go to the Securables tab for this role, there are no objects in the ... stored procedures it will have that role listed with execute permissions. ... You can find the latest service pack for SQL Server on ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Conflicting AD groups
    ... This appears to be an important area that is missing in Books Online. ... it does talk about AD permissions as mapping into SQL Server rights. ...
    (microsoft.public.sqlserver.security)
  • Re: Complete Neophyte Question(s)
    ... permissions/security model in SQL Server 2005 has baffled me thus far. ... I know that this role has permissions defined somehow, but I'll> be damned if I can figure it out. ... an object to a schema owned by someone else, ... in Books Online, but admittedly Books Online is surprisingly thin on ...
    (microsoft.public.sqlserver.security)