无法使用 SSMS 通过 Windows 身份验证连接到本地 SQL Server [英] Unable to Connect to Local SQL Server with Windows Authentication using SSMS

查看:64
本文介绍了无法使用 SSMS 通过 Windows 身份验证连接到本地 SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Windows 身份验证使用 SSMS 登录到安装在 Windows7 上的本地 SQL Server 2005.

I am trying to login to my local SQL Server 2005 installed on Windows7 using SSMS using Windows authentication.

我尝试使用各种服务器名称,例如 .localhost.\SQLAANTH-PC 等.

I tried using various server names like ., localhost, .\SQL, ANANTH-PC etc.

当我尝试 .localhost

当我尝试 .\SQL

.

我在安装 SQL Server 时使用了默认实例和 Windows 身份验证.

I had gone for default instance and Windows authentication when I installed SQL Server.

我检查了 SQL Server 配置管理器中的服务,发现 MSSQLSERVER 正在运行.

I've checked the service in the SQL Server Configuration manager and find that MSSQLSERVER is running.

如何找到登录 SQL Server 时应输入的服务器名称?有什么帮助吗?

How can I find the server name that I should enter to login to SQL Server? Any help ?

错误记录为

2012-01-26 15:07:16.02 Logon       Login failed for user 'Ananth-PC\Ananth'. [CLIENT: <local machine>]
2012-01-26 15:08:51.06 Logon       Error: 18456, Severity: 14, State: 11.

推荐答案

这应该可以帮助您找到原因.点击:显示技术细节"并查看状态编号.

That should help you find reason. Click: "Show technical details" and look at State number.

http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx

这篇关于无法使用 SSMS 通过 Windows 身份验证连接到本地 SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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