无法创建SSPI上下文 [英] Cannot create SSPI context

查看:153
本文介绍了无法创建SSPI上下文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在.NET应用程序中尝试构建数据库脚本.在构建项目时,出现错误无法创建SSPI上下文".此错误显示在输出窗口(在VS2008屏幕内)中,并且构建过程失败.请帮忙. SQL Server配置为可在Windows身份验证和作为网络服务运行(这对我的项目是必须做的两件事).

I am working on a .NET application where I am trying to build the database scripts. While building the project, I am getting an error "Cannot create SSPI context.". This error is shown in the output window (inside VS2008 screen) and the building process failed. Please help on this. SQL Server is configured to work on Windows authentication & running as network service (these two things are must for my project).

请对此提供帮助.此错误似乎不一致.过去通过重新启动计算机,更改系统时间以匹配域时间和网络中的一些建议来解决此问题.请帮忙.

Please help on this. This error is not seems to be consistent. It was fixed in the past by restarting the machine, changing the system time to match the domain time and some suggestions in the net. Please help on this.

推荐答案

由于各种原因,这是一个非常常见的错误:从 KB 811889

It's quite a common error with a variety of causes: start here with KB 811889

  • 什么版本的SQL Server?
  • 客户端和服务器上是否有Windows?
  • 本地或网络SQL实例?
  • 域还是工作组?提供者?
  • 更改密码
  • 本地Windows记录错误?
  • 还有其他应用程序受到影响吗?

这篇关于无法创建SSPI上下文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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