SSPI Context - Erm what have i done wrong

by Woodrowg 3. July 2009 05:49

Having trouble with you SSPI context, Gettting errors like „Cannot generate SSPI context” in visual studio when your laptop is not at work. Look no further the answer is simple.

Do you remember that you wanted to connect from the database from another machine and you turned on TCP/IP in the SQL server configuration tool most likely about the same time you started having issues. There is your problem if you are no longer on the network it can’t get the SSPI context. Just make sure that the Protocol for the alias name you are using is set to named pipes and the problem will go away.

Don’t start messing around with the accounts under which the server starts that will only cause more headaches. You could however at a push just turn off tcp/ip but then what fun would that be ;-)

 http://support.microsoft.com/kb/811889/en-us

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Adventures with Code

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Gary, the last of the unbloged is finaly giving up and will try as often as posible to add anything interesting he finds to this site. especially stuff like ASP.net MVC and things to make people smile