Yesterday I went through some troubles to set up a DB on my local machine. I finally got that working, but now today I am getting an error when I try to connect to a remote machine.

Cannot generate SSPI context. (.Net SqlClient Data Provider)

Server Name: remotedbserver
Error Number: 0
Severity: 11
State: 0
Procedure: GenClientContext

I tried rebooting, stopping all my local services, etc. Nothing seems to be working. I also tried to follow the steps to troubleshoot this found in the Microsoft Knowledge Database - nothing worked so far! I am using Windows 7 if that matters.


So I finally got a logon to the actual server. I think the problem was that someone had the service running under their account, and must have changed their password. Hope this helps if anyone else gets this message.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.