Help with Linked Server Error

Posted by Randy Minder on Stack Overflow See other posts from Stack Overflow or by Randy Minder
Published on 2010-06-01T21:13:29Z Indexed on 2010/06/01 21:23 UTC
Read the original article Hit count: 421

Filed under:

In SSMS 2008, I am trying to execute a stored procedure in a database on another server. The call looks something like the following:

EXEC [RemoteServer].Database.Schema.StoredProcedureName
   @param1,
   @param2

The linked server is set up correctly, and has both RPC and RPC OUT set to true. Security on the linked server is set to Be made using the login's current security context.

When I attempt to execute the stored procedure, I get the following error:

Msg 18483, Level 14, State 1, Line 1

    Could not connect to server 'RemoteServer' because '' is not defined as a remote login at the server. Verify that you have specified the correct login name.

I am connected to the local server using Windows Authentication. Anyone know why I would be getting this error?

© Stack Overflow or respective owner

Related posts about sql-server