Linked Server failing on SQL Server job

后端 未结 2 651
迷失自我
迷失自我 2021-01-19 01:50

I have a linked server that perfectly works when executing a query. But when I place the query in a job, it fails.

Here is the setting of my linked server

2条回答
  •  灰色年华
    2021-01-19 02:06

    I had this same issue, And after changing user permissions etc etc etc, I found this article and instead of using "Be made using the login's current security context" i used "Be made using this security context" and i specified the account and password which solved the issue. So the issue isnt with SQL jobs or my procedure it was in actual fact my linked server. Even though the link server did work... When calling a linked server within a SQL job the linked server had to have the account details specifically specified.

提交回复
热议问题