简体   繁体   English

无法从工作站连接到SQL Server-Microsoft SQL Server 2008 R2(SP2)

[英]Cannot connect to SQL server from workstation - Microsoft SQL Server 2008 R2 (SP2)

I face the following isuse on a Microsoft SQL Server 2008 R2 (SP2): 我在Microsoft SQL Server 2008 R2(SP2)上面临以下isuse:

Login failed for user ''. 用户“”登录失败。 Reason: An attempt to login using SQL authentication failed. 原因:尝试使用SQL身份验证登录失败。 Server is configured for Windows authentication only. 服务器仅配置为Windows身份验证。

  • My SQL server has mixed mode enabled (i verified and switch it on and off several times) 我的SQL Server已启用混合模式(我已验证并将其打开和关闭多次)
  • I am able to loging from a peer server which is a replica with the same windows accounts 我能够从对等服务器登录,该对等服务器是具有相同Windows帐户的副本
  • I am unable to loging from a Windows workstation 我无法从Windows工作站登录
  • The DSN configuration in Windows is succesful though Windows中的DSN配置成功

If mixed mode is enabled why would the server tell me it is not? 如果启用了混合模式,服务器为什么会告诉我不是?

What could cause the server to believe it is Win authentication only although the setup is mixed mode? 是什么导致服务器即使设置为混合模式,也只能相信它是Win身份验证?

Wireshark did not help. Wireshark没有帮助。

I traced back the changes on the server it appears that the main administrator user was renamed. 我追溯了服务器上的更改,看来主管理员用户已重命名。 A new sys admin user was created and I had to add this user in both Windows SQL Security groups. 创建了一个新的sys admin用户,我必须将此用户添加到两个Windows SQL Security组中。

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

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