SSPI error context

  • Hai,

    I'm having Windows XP SP2 version and I have installed SQL server 2005. Whenever I'm opening SQL server management studio in Windows Authentication Mode I get a pop message indicating that "SSPI context error message". What may be the problem and how to sort it out?

  • It seems you have problems connecting to the domain: SQL server Service is unable to get the security credentials of the logged NT user. Are U logged locally or you are using a domain account?

  • There are a variety of reasons for this error. Can you explain more about your setup (workstation / SQL Server on the same domain, Kerberos configured, etc.)?

    K. Brian Kelley
    @kbriankelley

  • Make sure your server has an SPN in Active Directory. Be sure the times between the SQL Server the DCs are not off.

  • I'm using default windows account to log in to SQL Server 2005

  • Where the active directory is there and what is meant by DC's. Can you just elucidate it further more.

  • Where the active directory is there and what is meant by DC's. Can you just elucidate it further more.

  • Active Directory = Windows domain (which are serviced by domain controllers)

    SPN = Service Principal Name

    Starting with Windows 2000, the default security mechanism is called Kerberos. Kerberos allows a client system to verify that the server it's talking to really is what it says it is. That's where SPNs come into play. SPNs are stored in Active Directory If the SPN is wrong, you could get that error.

    K. Brian Kelley
    @kbriankelley

  • here is a good link on how to resolve this issue.

    http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=60&threadid=84680&highlight_key=y&keyword1=sspi

    this guy made it real comprehensive.

    i'm sure there is something in there that will help you out.

    i've used it in the past and it works great.

    _________________________

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply