SQL Server 2008: Cannot set a credential for principal ‘sa’

Posted: June 28, 2012 in Database
Tags: ,

I received this error when I tried to change the sa password through SQL Server Management Studio.

Again, googling

Microsoft support site has the detailed reason and resolution, but again, Microsoft failed and Google did it.

This problem occurs if the Map To Credential check box is not selected on the General tab of the Login Properties – sa dialog box. If this check box is not selected, SQL Server 2008 will try to drop any credential that is mapped to your login credentials. Because your credentials cannot be set to the “sa” login, you receive the exception error message that is mentioned in the “Symptoms” section when you click OK to close the dialog box.

Resolution:

To resolve this issue, make sure that you select the Map To Credential check box on the General tab of theLogin Properties – sa dialog box before you change the “sa” login properties and then click OK to close the dialog box.

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s