I have a client that I can't use SQL Server client tools to remote connect to his database He is running SQL Server 2012 installed in instance name INTERNAL
I narrowed down the problem
I run
execute XP_READERRORLOG
and get the error:
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.
So I checked the sql service is running under the default virtual account "NT Service\MSSQL$INTERNAL"
and I follow the advice here http://msdn.microsoft.com/en-us/library/ms191153.aspx
setspn -A MSSQLSvc/ServerName.domainname.com:1433 "NT Service\MSSQL$INTERNAL"
however it tells me:
Unable to locate account MSSQL$INTERNAL
What am I doing wrong in my command prompt command?
I read a blog here.
If the instance of SQL Server is running under the LocalSystem account, you do not have to run the SETSPN utility.
but I don't understand then why I get the error?