Thursday, May 19, 2016

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

This error at a yellow and red screen of death in ASP.NET apps has to do with Kerberos authentication. In my case specifically this reared its head when a single sign on implementation was moved from being a project one joined into a solution to a concern hydrated by NuGet and when I tried to loop in the single sign on stuff the old way the problem appeared. Doing things the right way fixed the problem, and I got out from under this without really understanding what was falling down. The problem happened a second time after I reset IIS and I ended up just restarting the server holding my database to fix the problem a second time.

No comments:

Post a Comment