r_pat72
asked on
SQL Server 2008/Link server question
Hi,
I am executing a stored proc which runs fine in sql server management studio which uses link server. But when I put that
stored proc inside a job & runs that jobs, it fails.
Here is the security setting for Link server
I have added my windows login to (Local server login to remote server login mappings:)
selected the radio button (Be made using the login's current security context)
Please help.
Thanks
I am executing a stored proc which runs fine in sql server management studio which uses link server. But when I put that
stored proc inside a job & runs that jobs, it fails.
Here is the security setting for Link server
I have added my windows login to (Local server login to remote server login mappings:)
selected the radio button (Be made using the login's current security context)
Please help.
Thanks
Does the account that runs sql agent jobs have rights to get that data from the remote server? When you run it in sql management studio, it's running as you, but as a scheduled job, it's running as the agent account, which may not have the same rights.
ASKER
how to set agent account that will run under my credential?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks.