Cannot set a credential for principal ‘sa’. (Microsoft SQL Server, Error:15535)

In this Quick and dirty post, let’s see a simple fix for one of the annoying error messages you’ll see in SQL Server 2005. Basically, You’ll see below mentioned error in few cases when you try to change the sa password using SSMS.

The Simple trick is to check the box “Map to credential” as shown below after providing a new password and click Okay.

This should work…Hope this helps!

 

 

 

Advertisements

12 thoughts on “Cannot set a credential for principal ‘sa’. (Microsoft SQL Server, Error:15535)

  1. spiller February 26, 2013 / 3:21 am

    It works! thanks

  2. Ahmed April 16, 2013 / 4:17 am

    thanks..it works successfully
    but why it return to unchecked after we press ok??

  3. Gabi June 20, 2013 / 5:12 am

    Great solution! Thanks!

  4. mano July 5, 2014 / 11:04 am

    Tnx its working

  5. naveen August 8, 2014 / 9:16 am

    it’s working

  6. Jim September 22, 2015 / 1:03 pm

    its working… what was the problem and why does that fix it?

    • sreekanth bandarla September 22, 2015 / 4:33 pm

      I’ve encountered this only once, I think it could be small bug(within SSMS). Here’s the Microsoft KB article for this issue…Am not truly satisfied with the explanation provided by MSFT as well. But hey….that fixes our annoying little issue!
      https://support.microsoft.com/en-us/kb/956177

      One more reason to prefer T-SQL over SSMS for making small changes 🙂

  7. Ratnesh Sharma December 26, 2015 / 4:32 am

    no its working i am trying to it if u have any other solution so please revert to me

  8. Ranjith Brarath Ravi April 10, 2016 / 5:42 am

    thanks its working

  9. eperez June 23, 2016 / 5:15 pm

    Excelente, funcionó
    Gracias

  10. Claus July 12, 2016 / 10:28 am

    Gracias!!! perfecto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.