April 25, 2018 at 6:44 am
Good day Experts,
I am a SysAdmin and i have two stored procs on the same database.I can run one them successfully and the other one gives back an error.Login failed for user "AAAAAA"'.
As a Sysadmin i have all rights.What might be the cause?
Thank you
April 25, 2018 at 7:09 am
Does the one that fails involve a linked server or an OPENROWSET command or something like that?
John
April 25, 2018 at 7:52 am
Does the failing stored procedure contains the EXECUTE AS clause?
April 25, 2018 at 8:03 am
Sounds like an interview question.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2018 at 1:05 pm
tmmutsetse - Wednesday, April 25, 2018 10:40 AMThanks
@john-2, Yes the proc reads from a linked server and i tested the connection, it's successfull.
@ Han Shi , the proc doesn't contain "Execute As" ClauseThanks
Check the how the logins, security is setup for the linked server - sounds like that is likely the issue.
Sue
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply