SQL Server凭据映射到网络服务帐户的问题(Issue with SQL Server Credential mapped to Network Service account)

编程入门 行业动态 更新时间:2024-10-25 00:34:20
SQL Server凭据映射到网络服务帐户的问题(Issue with SQL Server Credential mapped to Network Service account)

在SQL Server 2008 R2标准版上,我创建了一个credential TestCredential,其identity为NT AUTHORITY\NETWORK SERVICE ,如此处所述 。 然后,我按照本文使用该代理帐户创建proxy account和SQL服务器作业。 但是当我运行这个工作时,我收到以下错误:

Unable to start execution of step 1 (reason: Error authenticating proxy NT AUTHORITY\NETWORK SERVICE, system error: Logon failure: unknown user name or bad password.). The step failed.

On SQL Server 2008 R2 Standard Edition, I created a credential TestCredential with identity as NT AUTHORITY\NETWORK SERVICE as explained here. Then I followed this article to create a proxy account and a SQL server job using that proxy account. But when I run the job, I get the following error:

Unable to start execution of step 1 (reason: Error authenticating proxy NT AUTHORITY\NETWORK SERVICE, system error: Logon failure: unknown user name or bad password.). The step failed.

最满意答案

错误的内容告诉你一切。 您可以为没有密码的服务帐户创建凭据,这是执行此操作所必需的。 如果您转到“Credentianals”部分,您会发现此凭据的密码对于此帐户是错误的。 总之,您不能将服务帐户用作凭证。 他们的角色是服务“处理”。

Error's content tells you everything. You create credential for service account without password which is required to do this. If you go to the "Credentianals" section you will find this credential with password which is wrong for this account. In conclusion you can not use service accounts as a credential. Their role is to service "handling".

更多推荐

本文发布于:2023-08-06 14:11:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1451277.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:凭据   网络服务   帐户   SQL   Server

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!