Windows 身份验证模式改成 SQLSERVER 身份验证

Azrael99999 2010-08-04 02:24:49
我参照http://technet.microsoft.com/zh-cn/library/ms188670.aspx
改过去 了 怎么用 SQLSERVER 身份验证 还是不能登陆 说我 登陆失败
...全文
128 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
obuntu 2010-08-04
  • 打赏
  • 举报
回复
重启下服务看看。
Azrael99999 2010-08-04
  • 打赏
  • 举报
回复
我启动了啊 !
情殇无限 2010-08-04
  • 打赏
  • 举报
回复
在sa登录名上右键点属性,在状态页里启用sa帐号
情殇无限 2010-08-04
  • 打赏
  • 举报
回复
在sa登录名上右键,在状态页里启用sa帐号
Azrael99999 2010-08-04
  • 打赏
  • 举报
回复
===================================

无法连接到 CARE-PC。

===================================

用户 'sa' 登录失败。该用户与可信 SQL Server 连接无关联。 (.Net SqlClient Data Provider)

------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476

------------------------------
服务器名称: CARE-PC
错误号: 18452
严重性: 14
状态: 1
行号: 65536


------------------------------
程序位置:

在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
在 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
在 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
在 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.SqlClient.SqlConnection.Open()
在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)
在 Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

obuntu 2010-08-04
  • 打赏
  • 举报
回复
。。
控制面板--管理工具 --事件查看器

或者用能登录的用户登录进去,在SQL Server Agent那边也有个日志查看。
Azrael99999 2010-08-04
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 obuntu 的回复:]

看下windows事件查看器里详细的失败登录信息。
[/Quote]
。。。。怎么查看
obuntu 2010-08-04
  • 打赏
  • 举报
回复
看下windows事件查看器里详细的失败登录信息。

34,588

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧