Results 1 to 4 of 4

Thread: Cannot generate SSPI Context Error

  1. #1
    Join Date
    May 2003
    Location
    Winston, NC
    Posts
    3

    Question Cannot generate SSPI Context Error

    Sometimes when we restart our Application server and it attempts to connect to the database, we get "Cannot generate SSPI Context."
    Has anyone come across this type of error?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Are you using linked server?

    I have seen this happen on long running queries using a linked server.

    If this is the case try to optimize the query or break into smaller pieces.

  3. #3
    Join Date
    May 2003
    Location
    Winston, NC
    Posts
    3
    Shailesh,

    Thanks for you post.
    I am not using a linked server. This error does not happen every time, just on an infrequent basis.

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    It could be network time out issue too.

    One work around is to use named pipe rather than tcp/ip to connect to the sql server which avoids all SSPI stuff.

    This is a good article about SSPI, you will have to register to read it.

    http://www.sqlservercentral.com/colu...intversion.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •