In case of SPN (Service Principle Name) registration failed and you are getting the SSPI context error while connecting to SQL Server instanc you can use the Named Pipes protocol if enabled. To connect SQL Server instance using named pipes protocol you have to write NP against the instance name.
See below image for more information.
Hi Jugal,
Thank you for sharing your great work !!
There was SPN issue on my test server but i wanted to check how NP works. I disable NP on server and then tried to connect using SSMS as told by you, to my surprise I got connected to SQL instance.
Can you please shed light on this ? Per setting on my server, NP is tried in the end so i was thinking it shouldn’t connect.
Thanks,
Anil