February 16, 2018 at 5:39 am
Have a problem in which stored procedure is not getting executing it through a SQL Server agent job .Executing the SQL Server job on another SQL Server which is associated by Linked server.
The error is as follows :
Executed as user: XYZ\sa Login Failed. The login is from an untrusted domain and cannot be used with Windows authentication. [SQL State 28000] [Error 18452]. The Step failed.Would appreciate if you could help out with the same on a quickly basis.
Thanks in Advance
Adil
February 16, 2018 at 5:46 am
adilahmed1989 - Friday, February 16, 2018 5:39 AMHave a problem in which stored procedure is not getting executing it through a SQL Server agent job .Executing the SQL Server job on another SQL Server which is associated by Linked server.
The error is as follows :
Executed as user: XYZ\sa Login Failed. The login is from an untrusted domain and cannot be used with Windows authentication. [SQL State 28000] [Error 18452]. The Step failed.Would appreciate if you could help out with the same on a quickly basis.Thanks in Advance
Adil
That is a very common error, have you investigated it for yourself? What have you tried, in order to resolve it?
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
February 16, 2018 at 5:51 am
adilahmed1989 - Friday, February 16, 2018 5:39 AMHave a problem in which stored procedure is not getting executing it through a SQL Server agent job .Executing the SQL Server job on another SQL Server which is associated by Linked server.
The error is as follows :
Executed as user: XYZ\sa Login Failed. The login is from an untrusted domain and cannot be used with Windows authentication. [SQL State 28000] [Error 18452]. The Step failed.Would appreciate if you could help out with the same on a quickly basis.Thanks in Advance
Adil
Please read this & come up with a solution, It's a very common error.
February 16, 2018 at 5:51 am
Actually there is some issue in user Permission rights; but i am unsure about it. It would be helpful if there is any clarity on the issue so that i can work upon the resolution in a quickest way and get to know what should i do to resolve
February 16, 2018 at 5:58 am
adilahmed1989 - Friday, February 16, 2018 5:51 AMActually there is some issue in user Permission rights; but i am unsure about it. It would be helpful if there is any clarity on the issue so that i can work upon the resolution in a quickest way and get to know what should i do to resolve
So ... you won't make the effort to learn about it yourself, you just want free consultancy from others who have taken the time. Good luck.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
February 16, 2018 at 6:42 am
adilahmed1989 - Friday, February 16, 2018 5:39 AMHave a problem in which stored procedure is not getting executing it through a SQL Server agent job .Executing the SQL Server job on another SQL Server which is associated by Linked server.
The error is as follows :
Executed as user: XYZ\sa Login Failed. The login is from an untrusted domain and cannot be used with Windows authentication. [SQL State 28000] [Error 18452]. The Step failed.Would appreciate if you could help out with the same on a quickly basis.Thanks in Advance
Adil
If you are referring with the "XYZ\sa" account to the SQL sysadmin sa account, you don't specify a domain name in the account notation. Also make sure the instance is configured for SQL Authentication. But note that it is best practice to use "Integrated security", so you should (rebuild to) use a Windows domain account.
February 18, 2018 at 5:17 pm
For the love of all that is holy in the world of database security, stop using the SA account for anything. Setup a separate Active Directory service account and use that instead.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply