我有一個客戶端,我無法使用SQL Server客戶端工具遠程連接到他的數據庫 他正在運行安裝在實例名稱中的SQL Server 2012內部無法在Windows 2008R2中註冊SPN來爲SQL Server 2012服務帳戶創建SPN
我收窄問題
我跑
execute XP_READERRORLOG
並且得到錯誤:
The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/SERVERNAME.domainname.com:INTERNAL ] for the SQL Server service. Windows return code: 0xffffffff, state: 63. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.
所以我檢查SQL服務是默認的虛擬賬戶 「NT服務\ MSSQL $ INTERNAL」
下運行,我照做這裏http://msdn.microsoft.com/en-us/library/ms191153.aspx
setspn -A MSSQLSvc/ServerName.domainname.com:1433 "NT Service\MSSQL$INTERNAL"
但是它告訴我:
Unable to locate account MSSQL$INTERNAL
我在我的命令提示命令中做錯了什麼?
我讀a blog here。
If the instance of SQL Server is running under the LocalSystem account, you do not have to run the SETSPN utility.
但我不明白爲什麼我會得到錯誤?