用户登录失败(Microsoft SQL Server,错误:18456)SQL Server 2005 [英] Login failed for user (Microsoft SQL Server, Error:18456) SQL Server 2005

查看:65
本文介绍了用户登录失败(Microsoft SQL Server,错误:18456)SQL Server 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 sql server 2005.TCP/IP 已启用.正在使用 Windows 身份验证.在尝试使用数据库引擎作为服务器类型连接服务器时,我收到错误消息用户'name-pc\account 2'登录失败(Microsoft SQL Server,错误:18456)".

I am using sql server 2005. TCP/IP is enabled. windows authentication is being used. while trying to connect the server with the Database Engine as server type, I am getting error message "Login failed for user 'name-pc\account 2'(Microsoft SQL Server, Error:18456)" .

推荐答案

此错误意味着给定的 Windows 用户name-pc\account 2"无权访问给定的实例.您可以使用sa"登录(如果已启用,则使用其他系统管理员帐户登录)并检查name-pc\account 2"是否存在并启用.

This error means that given windows user 'name-pc\account 2' does not have access to given instance. You can login with 'sa'(if it is enabled otherwise login with other sysadmin account) and check if 'name-pc\account 2' is exists and enabled.

您还可以阅读有关此错误的更多信息并获取更多信息 这里

You can also read more about this error and gain more information HERE

也请阅读评论,评论中提到的一些重要提示和要点

这篇关于用户登录失败(Microsoft SQL Server,错误:18456)SQL Server 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆