silikonmain.blogg.se

Sql server client
Sql server client










In short, SQL server error 10054 often triggers during remote database connection at the client-side due to issues with Service Principal Name (SPN). It would help to confirm if this was the reason behind the error.įurther, changing the authentications to “SQL Server and Window authentication” might also help to fix the problem. Thus it would be a good idea to remove the SSL certificate at the client end temporarily. The SSL certificate installed at the client end can sometimes cause hindrance and can trigger the 10054 error. Thus using specific ports can help to fix the error. It is possible to bind SPN to an instance when using dynamic ports. The SQL error 10054 can be triggered due to the use of dynamic ports. Alternate SolutionsĪpart from the fixes discussed above, there are some alternate fixes that can help to resolve the issue. Once the key is added, we need to reboot the server for the changes to take effect. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SycAttackProtect = 0 This can be done by adding the following registry key. Setspn -d service/name hostname //removing SPN Disable SYN flooding attack protectionĪnother fix for the 10054 error would be to disable the SYN flooding attack protection. Format to be used for these operations are: setspn -s service/namehostname // adding SPN It can be performed with the setspn commands. Once the duplicated SPNs are identified, we need to delete all of the duplicated SPN and recreate it. We can use the setspn command with a -X option to list out all the duplicated SPNs. If the SPN is not registered, we need to provide the service account permissions to read/ write the SPN and register an SPN by running SETSPN with the -S option.įor instance, to register the http service on the standard port on a computer named test in the domain using a service account named test1, use the following command: setspn -s http/ help\test1Īs we listed out earlier, another reason for the 10054 SQL error is duplicated SPNs. Setspn -L localhost- This command will check registrations for the account localhost. To check the SPNs that are registered for a specific computer, you can run the following commands from a command prompt: setspn -L hostname - Substitute the actual hostname for the computer. Check if SPN is registered by SETSPN tool. Let us now look at the steps to fix this error. Unless the service account is specifically given the Read and Write ServicePrincipalName permissions, this will fail. SQL Server always attempts to create an SPN for the instance upon startup.

sql server client

#Sql server client how to#

How to fix the error SQL server error 10054? Let us now look at how to fix this error in detail.

sql server client

SQL Server got installed with Window Authentications only.Failure to register a Service Principal Name (SPN) for the SQL Server service.The major reasons for this error message include: SQL server error 10054 triggers normally during remote database connection at the client-side. In short, an SPN mapping allows service on a particular server to be associated with an account responsible for the management of the service, thereby permitting mutual Kerberos authentication. SPNs are used by Kerberos authentication to associate a service instance with a service logon account. What causes the error SQL server error 10054?Ī service principal name (SPN) is a unique identifier of a service instance.

sql server client

Today we’ll take a look at the cause for this error and how to fix it. It generally triggers due to issues with Service Principal Name (SPN) for the SQL Server service.Īs a part of our Server Management Services, we help our Customers to fix SQL related errors regularly. SQL server error 10054 often triggers during remote database connection at the client-side.










Sql server client