无法生成sspi上下文 SQL2008,修改本机登陆密码之后,就无法用windows验证模式登录同域中的数据库服务器,提示错误:无法生成sspi上下文,请问各位大侠该如何解决,非常感谢。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 kerberos 验证失败。看看你启动SQL Server database engine的服务帐号是什么。把他改成local system试试 把SQL Server error log 贴出来看看 ===================================无法连接到 10.10.10.1,1433。===================================无法生成 SSPI 上下文。 (.Net SqlClient Data Provider)------------------------------有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476------------------------------服务器名称: 10.10.10.1,1433错误号: 0严重性: 11状态: 0过程: GenClientContext------------------------------程序位置: 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 在 System.Data.SqlClient.TdsParser.SSPIError(String error, String procedure) 在 System.Data.SqlClient.TdsParser.SNISSPIData(Byte[] receivedBuff, UInt32 receivedLength, Byte[] sendBuff, UInt32& sendLength) 在 System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec) 在 System.Data.SqlClient.SqlInternalConnectionTds.Login(Int64 timerExpire, String newPassword) 在 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()重启没有效果。 我说的error log是在C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008\MSSQL\Log路径下的errolog用记事本打开的内容,你贴的这个看不出来的。 如何将sql安装的时候是系统管理员登陆改成SA登陆模式? SQL高手请进! 求助如果在sqlserver2005中级联删除主从表的记录? 请教一个关于一个排序的查询 这个语句如何写 SQL 当没有用EXISTS引入子查询时在选择列表中只能指定一个表达式 高手挑战,求sql语句,可为存储过程 导入的错误请大力等高手帮忙!! 两张表的数据筛选 如果让某字段空格部分替换成别的字符? 请教:如何清除指定数据库中所有表的记录? 淘宝数据库
看看你启动SQL Server database engine的服务帐号是什么。
把他改成local system试试
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476------------------------------
服务器名称: 10.10.10.1,1433
错误号: 0
严重性: 11
状态: 0
过程: GenClientContext
------------------------------
程序位置: 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
在 System.Data.SqlClient.TdsParser.SSPIError(String error, String procedure)
在 System.Data.SqlClient.TdsParser.SNISSPIData(Byte[] receivedBuff, UInt32 receivedLength, Byte[] sendBuff, UInt32& sendLength)
在 System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec)
在 System.Data.SqlClient.SqlInternalConnectionTds.Login(Int64 timerExpire, String newPassword)
在 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()重启没有效果。