Executing a Stored Procedure on a Linked Server

柔情痞子 提交于 2019-12-12 02:19:25

问题


I am running SQL Server 2012 on two separate servers (let's call them Server A and Server B). On Server A, I have created a linked server to Server B called [ServerB]. I am able to query Server B from Server A without any problems:

SELECT * [ServerB].[MyDatabase].[dbo].[MyTable]

However, when I try to execute a stored procedure:

EXEC [ServerB].[MyDatabase].[dbo].[MyStoredProcedure]

...I get the following error:

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

I've done a lot of Googling and I can't seem to determine the problem. It seems to me that this is not a "double-hop" issue.

来源:https://stackoverflow.com/questions/22309505/executing-a-stored-procedure-on-a-linked-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!