2011-05-23 79 views
0

我登錄到我的管理員帳戶PC。當我嘗試,使「山」的帳戶的SQL Server 2008,我得到以下錯誤:SQL Server 2008中啓用sa帳戶

TITLE: Microsoft SQL Server Management Studio 
------------------------------ 

Alter failed for Login 'sa'. (Microsoft.SqlServer.Smo) 

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1540+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Alter+Login&LinkId=20476 

------------------------------ 
ADDITIONAL INFORMATION: 

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) 

------------------------------ 

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

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=15535&LinkId=20476 

------------------------------ 
BUTTONS: 

OK 
------------------------------ 
+0

[SQL Server 2008中啓用sa帳戶]的複製(http://stackoverflow.com/questions/6071649/sql-server-2008-enable-sa-account)(相同的用戶,相同的ALTER) – gbn 2011-05-23 09:59:41

回答

3

你有沒有嘗試過微軟KB956177

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

0

要解決此問題,請確保您選擇映射到憑據登錄屬性的常規選項卡上的複選框 - SA對話框更改「sa」登錄屬性之前,然後單擊確定關閉對話框。