SQL 服务器身份验证错误。 18456 州 5
SQL Server Authentication Error. 18456 State 5
我在使用专为我正在开发的新应用程序创建的新创建的域帐户 'X' 登录我们的数据库时遇到问题。此帐户是有权访问服务器和数据库的组的成员。群组中的其他成员没有身份验证问题。
当我使用帐户 'X' 登录到我的工作站时,我可以通过 Windows 身份验证连接到 SQL Server Management Studio。但是,如果我在连接字符串中使用帐户 'X',SQL 服务器无法对其进行身份验证。有什么想法吗?
state 5
建议"Invalid userid"
这导致:
Invalid userID: SQL Server is not able to find the specified UserID on
the server you are trying to get. The most common cause is that this
userID hasn’t been granted access on the server but this could be also
a simple typo or you accidentally are trying to connect to different
server (Typical if you use more than one server)
重新检查您的用户帐户设置以及您的身份验证模式,以便您知道服务器将接受指定用户的连接。
我在使用专为我正在开发的新应用程序创建的新创建的域帐户 'X' 登录我们的数据库时遇到问题。此帐户是有权访问服务器和数据库的组的成员。群组中的其他成员没有身份验证问题。
当我使用帐户 'X' 登录到我的工作站时,我可以通过 Windows 身份验证连接到 SQL Server Management Studio。但是,如果我在连接字符串中使用帐户 'X',SQL 服务器无法对其进行身份验证。有什么想法吗?
state 5
建议"Invalid userid"
这导致:
Invalid userID: SQL Server is not able to find the specified UserID on the server you are trying to get. The most common cause is that this userID hasn’t been granted access on the server but this could be also a simple typo or you accidentally are trying to connect to different server (Typical if you use more than one server)
重新检查您的用户帐户设置以及您的身份验证模式,以便您知道服务器将接受指定用户的连接。