简体   繁体   English

SQL Server状态管理登录失败错误?

[英]SQL Server state management login failed error?

One more observation - If I am trying to run service from local machine - I get message as Login failed for user ''. 另一项观察-如果我试图从本地计算机运行服务-我收到消息, 因为用户”登录失败。 The user is not associated with trusted SQL Server connection. 该用户未与信任的SQL Server连接相关联。

whereas, If I run the service from server - it works fine. 相反,如果我从服务器运行该服务,则可以正常运行。

Any guess why ? 任何猜测为什么?

We are using SQL Server for session state management and as soon as we try to persist some object in the state manager DB - we get 我们正在使用SQL Server进行会话状态管理,一旦我们尝试将某些对象持久保存在状态管理器数据库中,我们就会得到

login failed error and multiple try eventually locks the AD account. 登录失败错误,多次尝试最终锁定了AD帐户。

  1. What could be the reason as we are getting login failed error while storing object in session state manager? 将对象存储在会话状态管理器中时出现登录失败错误的原因可能是什么?

  2. Do we need to assign some access or privileges to our AD account ? 我们是否需要为我们的AD帐户分配一些访问权限或特权?

Our AD account has access to DB, I can login to SQL Server using my AD ID 我们的AD帐户有权访问数据库,我可以使用我的AD ID登录到SQL Server

Thanks in advance 提前致谢

考虑到最终会锁定您的广告帐户的最可能原因是您使用的密码错误,请在DC上检查Windows安全日志,然后会出现一堆“审核失败”记录,这些记录会为您提供更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM