Resolving the Cannot generate SSPI context Error in SQL Server
Автор: Quick FAQ
Загружено: 2025-07-06
Просмотров: 261
Описание:
Resolving the Cannot generate SSPI context Error in SQL Server
The "Cannot generate SSPI context" error in SQL Server typically arises from Kerberos authentication failing between the client and server. Resolving this often involves verifying the SQL Server Service Principal Names (SPNs) are correctly registered in Active Directory under the SQL Server service account. Use `setspn L -SQL Server service account-` to list existing SPNs and `setspn -S MSSQLSvc/-SQL Server FQDN-:-port SQL Server service account-` and `setspn -S MSSQLSvc/-SQL Server NetBIOS name-:-port -SQL Server service account-` to create them if missing. Ensure the SQL Server service account has "Read servicePrincipalName" and "Write servicePrincipalName" permissions on the SQL Server computer object in Active Directory. Confirm DNS resolution is accurate between client and server. Restart the SQL Server service after modifying SPNs. If using a named instance, specify the port number; otherwise, use 1433 for the default instance. Finally, client machines may need to clear Kerberos tickets using `klist purge`.
Watch video:- • Resolving the Cannot generate SSPI context...
If you have any question, please comment below.
Subscribe and support:- / @quickfaq
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: