Cannot set a credential for principal 'sa'. (Microsoft SQL Server,错误: 15535)

  在SQL SERVER 2008上上禁用sa登录时,遇到下面错误:“Cannot set a credential for principal 'sa'. (Microsoft SQL Server,错误: 15535)”

官方文档https://support.microsoft.com/zh-cn/kb/956177 分析了原因以及解决方案。

出现原因

如果在登录属性-sa对话框的常规选项卡上未选中映射到凭据复选框,将出现此问题。如果未选中此复选框,则 SQL Server 2008年将尝试除去任何凭据映射到您的登录凭据。因为您的凭据不能设置为"sa"的登录,您将收到时单击确定关闭对话框"症状"一节中提到的异常错误消息。

 

This problem occurs if the Map To Credential check box is not selected on the General tab of the Login Properties - sadialog 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.

解决方案

要解决此问题,请确保您选择登录属性-sa对话框的常规选项卡上的映射到凭据复选框,您更改"sa"的登录属性,然后单击确定以关闭该对话框之前。

 

参考资料:

https://support.microsoft.com/zh-cn/kb/956177

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值