Skip to content

SQL Server DBA - Dedicated Blog for all DBA and Developers

SQL DBA blog is dedicated in providing the highest quality and most in-depth SQL Server material to boost your career or to make one more productive.
  • Home
  • SQL Admin
    • SQL Development
    • SQL Server Basics
      • SQL Server Architecture
      • SQL Server Management Studio
      • SQL Server Configuration Manager
    • Using Query Analyser
    • Adding SQL Agent Job
    • Backing up SQL Server Database
    • Restoring Database in SQL Server
    • SQL Server Activity Monitor
    • Using SQL Server Database Tuning Advisor
    • Using SQL Server Profiler
    • SQL Server RPO and RTO
    • SQL Server 2008 HA and DR Solutions
    • SQL Server Encryption
  • High Availability
    • Failover Clustering
    • Database Mirroring
    • Replication
      • Transactional Replication
      • Snapshot Replication
      • Merge Replication
    • Disaster Recovery
      • Backup and Restore
      • Log Shipping
      • Database Mirroring
  • Performance Tuning
    • Operating System Memory Counters
      • OS Memory and Paging Performance Counters
      • OS CPU and Processor Counters
      • OS Disk and Miscellaneous Counters
    • SQL Server Memory
      • Buffer Manager & Memory Performance Counters
      • SQL Server: Memory Manager Counters
      • My Memory Usage– Performance Counters
    • Other Important Performance Counters
      • Data Access Performance Counters
      • User Database Performance Counters
      • SQL Server SQL Statistics Counters
      • Workload Performance Counters
      • Important Perfmon Counters %Processor and Disk monitoring counters
      • SQL Server : Plan Cache Counters
    • Users & Locks Performance Counters
    • Getting Perfmon data from inside of SSMS
  • BI Tools
    • Administration of Reporting Services
    • Administration of Analysis Services
    • Scheduling Integration Services Package
  • Contact Us

SQL Server DBA - Dedicated Blog for all DBA and Developers

SQL DBA blog is dedicated in providing the highest quality and most in-depth SQL Server material to boost your career or to make one more productive.
  • Home
  • SQL Admin
    • SQL Development
    • SQL Server Basics
      • SQL Server Architecture
      • SQL Server Management Studio
      • SQL Server Configuration Manager
    • Using Query Analyser
    • Adding SQL Agent Job
    • Backing up SQL Server Database
    • Restoring Database in SQL Server
    • SQL Server Activity Monitor
    • Using SQL Server Database Tuning Advisor
    • Using SQL Server Profiler
    • SQL Server RPO and RTO
    • SQL Server 2008 HA and DR Solutions
    • SQL Server Encryption
  • High Availability
    • Failover Clustering
    • Database Mirroring
    • Replication
      • Transactional Replication
      • Snapshot Replication
      • Merge Replication
    • Disaster Recovery
      • Backup and Restore
      • Log Shipping
      • Database Mirroring
  • Performance Tuning
    • Operating System Memory Counters
      • OS Memory and Paging Performance Counters
      • OS CPU and Processor Counters
      • OS Disk and Miscellaneous Counters
    • SQL Server Memory
      • Buffer Manager & Memory Performance Counters
      • SQL Server: Memory Manager Counters
      • My Memory Usage– Performance Counters
    • Other Important Performance Counters
      • Data Access Performance Counters
      • User Database Performance Counters
      • SQL Server SQL Statistics Counters
      • Workload Performance Counters
      • Important Perfmon Counters %Processor and Disk monitoring counters
      • SQL Server : Plan Cache Counters
    • Users & Locks Performance Counters
    • Getting Perfmon data from inside of SSMS
  • BI Tools
    • Administration of Reporting Services
    • Administration of Analysis Services
    • Scheduling Integration Services Package
  • Contact Us
Home » SQL Server Error : 10054, Severity: 16. The data value for one or more columns

SQL Server Error : 10054, Severity: 16. The data value for one or more columns

  • Vamshi B Vamshi B
  • November 15, 2021
  • SQL Server

Table of Contents

  • SQL Server Error : 10054 Details
  • Solution for Resolving the Error
  • Alternate Solutions for related issue
  • SQL Server Error Code and solution summary

SQL Server Error : 10054 Details


SQL Server Error: 10054
Severity: 16
Event Logged or not: No
Description:
The data value for one or more columns overflowed the type used by the provider.
Severity 16 Description:
Indicates general errors that can be corrected by the user.

A service instance’s service principal name (SPN) is a unique identifier. Kerberos authentication uses SPNs to link a service instance to a service logon account. In summary, an SPN mapping associates a service on a given server with an account responsible for its maintenance, allowing mutual Kerberos authentication.

“an existing connection was forcibly closed by the remote host sql server 2019” or
“sql server, error: 10054 client unable to establish connection”

During a client-side remote database connection, SQL server error 10054 occurs normally. The following is an example of a typical error message:

 

Solution for Resolving the Error

 

When SQL Server starts up, it tries to construct an SPN for the instance. 
This will fail unless the service account is explicitly granted Read and Write ServicePrincipalName rights. 
As a result, SQL error 10054 may occur. 

The failure to register a Service Principal Name (SPN) for the SQL Server service, according to your SQL Server error log in this case, could be the cause of the problem.

When SQL Server starts up, it tries to construct an SPN for the instance. This will fail unless the service account is explicitly granted Read and Write ServicePrincipalName rights. Other possible causes include duplicated SPNs or dynamic ports.

To troubleshoot the problem, I propose using the procedures listed below.

To begin, use the SETSPN utility to see if SPN is registered. If not, run SETSPN with the -S option to provide the service account permission to read and write the SPN and register an SPN.

Check with the SETSPN utility to see if SPN is registered.
From a command prompt, type the following commands to see which SPNs are registered for a certain computer:
setspn -L [hostname] - Substitute the actual hostname for the computer.
setspn -L localhost      - This command will check registrations for the account localhost.

To register the http service for say the example.sqlserver.com domain using a service account named test, use the following command:

setspn -s http/test.example.sqlserver.com domain\test

To Check for duplicated SPNs

The second reason for 10054 SQL error is duplicated SPNs. We can use the setspn command with a -X option to list out all the duplicated SPNs.

setspn –X

The third way to fix 10054 error would be to disable the SYN flooding attack protection. This can be done by adding the following registry key.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SycAttackProtect{DWORD} = 0
Once the key is added, we need to reboot the server for the changes to take effect.

Alternate Solutions for related issue

The SSL certificate installed at the client end can sometimes cause this issue and can trigger the 10054 error. Check the SSL Certificate

 

SQL Server Error Code and solution summary


SQL Server Error: 10054
Severity: 16
Event Logged or not: No
Description:
The data value for one or more columns overflowed the type used by the provider.

Set the SPN’s needed to resolve the issue which resolves also below issues

  1. provider: ssl provider, error: 0 – an existing connection was forcibly closed by the remote host
  2. ssis tcp provider: an existing connection was forcibly closed by the remote host
  3. microsoft sql server an existing connection was forcibly closed
  4. sqlncli11 tcp provider: an existing connection was forcibly closed by the remote host
  5. system.componentmodel.win32exception: an existing connection was forcibly closed by the remote host
  6. microsoft sql server error 10054

Tags:10054 error in sql serversql server a connection was successfully established error 10054sql server error 10054sql server error 10054 an existing connection was forcibly closedsql server error 10054 an existing connection was forcibly closed by the remote hostsql server error 10054 azuresql server error 10054 client unable to establish connectionsql server error 10054 communication link failuresql server error 10054 odbcsql server error 10054 pre-login handshakesql server error 10054 ssl providersql server error 10054 tcp providersql server error 10054 tlssql server error code 10054

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Backup and Restore
  • Concurrency Control
  • Connectivity Issues
  • CTE
  • Database Mail
  • Database Maintenance
  • Database Mirrroring
  • Dealocks
  • Disaster Recovery
  • Disk I/O
  • Error Log
  • Extended Events
  • FTP
  • High Availability
  • In-Memory OLTP
  • Indexes
  • Log Shipping
  • MDW
  • Memory Configurations
  • New Features
  • Performance issues
  • Performance Tuning
  • Plan Cache
  • Policy Based Management
  • PRINCE2
  • Project Management
  • Replication
  • Reporting Services
  • Resource Database
  • Resource Governor
  • Revolution Analytics
  • rto rpo
  • SQL Server
  • SQL Server Admin
  • SQL Server Administration
  • SQL Server Alerts and Notifications
  • SQL Server Architecture
  • SQL Server Errors
  • SQL Server Extended Events
  • SQL Server Indexes
  • SQL Server Locks
  • SQL Server on Linux
  • SQL Server Security
  • SSRS
  • Storage Internals
  • Stored Procedures
  • System Databases
  • Table Variable
  • TDE
  • Temporary Database
  • Temporary Tables
  • Temporary Variables
  • Transaction Log
  • Transaction Log Shipping
  • Transactional Replication
  • TSQL
  • Uncategorized
  • Wait Stats

Please follow & like us :)

RSS
Follow by Email
Facebook
fb-share-icon

My Cool Posts…

  • SQL Server Error : 10035, Severity: 16. No value was given for one or more of th
  • SQL Server Error : 10034, Severity: 16. The specified table or view does not exi
  • SQL Server Error : 16943, Severity: 16. Could not complete cursor operation beca
  • SQL Server Error : 16915, Severity: 16. A cursor with the name ‘%.*ls’ already e
  • SQL Server Error : 1639 The eror occurs during installation of SQL Server
  • SQL Server Error : 15404, Severity: 16. Could not obtain information about Windo
  • SQL Server Error : 15401, Severity: 11. Windows NT user or group ‘%s’ not found.
  • SQL Server Error : 15063, Severity: 16. The login already has an account under a
  • SQL Server Error : 10028, Severity: 16. Authentication failed.
  • SQL Server Error : 10027, Severity: 16. Command was not prepared.

DBA

SQL Server DBA

Google site link is https://sites.google.com/view/sqlserver-dba

For list of all URL's https://docs.google.com/spreadsheets/d/1Pmt8rt4TOvvf8IXjudtqz_c-sLQQilRALQStYyVMK3I/edit?usp=sharing

Twitter Account is https://twitter.com/VamshidharBokka

Facebook page is www.facebook.com/SQLServerDBABlog

SQLServerDBA | Copyright by SQLServerDBA

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT