Microsoft SQL Server 错误:18456 + Windows 身份验证 [英] Microsoft SQL Server Error: 18456 + windows authentication

查看:56
本文介绍了Microsoft SQL Server 错误:18456 + Windows 身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 PC 名称是 IBALL1.我收到一个错误

My PC name is IBALL1. I get an error

用户iball1\User1"登录失败.(Microsoft SQL 服务器,错误:18456)

Login Failed for user 'iball1\User1'.(Microsoft SQL server, Error: 18456)

我正在尝试使用 Windows 身份验证登录.

I am trying to log in using Windows authentication.

然后在 SQL Server 配置管理器 > SQl 服务器服务 > SQL Server 作为本地系统登录.

And in SQL Server Configuration Manager > SQl Server Service > SQL Server Logon As Local System.

在错误日志文本文件中,位于 C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log

In error log text file, at C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log

日志说:

用户iball1\User1"登录失败.原因:找不到与提供的名称匹配的登录名.[客户端:本地机器]

Login failed for user 'iball1\User1'. Reason: Could not find a login matching the name provided. [CLIENT: local machine]

推荐答案

几个检查点:

1) 确保您的 sql express 服务已启动并以名称 'IBALL1' 运行如果没有尝试重新启动.

1) make sure your your sql express services is up and running with name 'IBALL1' if not try restarting.

2) 连接时也将 pc 名称作为服务器名称的前缀.

2) while connecting give pc name as prefix for server name too .

这篇关于Microsoft SQL Server 错误:18456 + Windows 身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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