The target principal name is incorrect. Cannot generate SSPI context.

After restarting my laptop, I was not able to connect to SQL server anymore. After online search, I found the solution that resolved the issue.

ipconfig /flushdns

Once you run this, you should be able to connect again.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">