Reputation: 2259
I've a SQL Server Agent Job set up and this job calls a query. When I run the query in SQL Server Management Studio, it works just fine. But when I call it automatically through the job, it gives the following error.
Access to the remote server is denied because the current security context is not trusted
Please help me out
Upvotes: 7
Views: 28797
Reputation: 653
If this is calling a linked server, this worked for me in a similar situation:
Upvotes: 20