An existing connection was forcibly closed by the remote host. SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection

Client Side Error Message: An existing connection was forcibly closed by the remote host

System.ApplicationException: Sql Exception with error number 10054 (Tries=0) ---> System.Data.SqlClient.SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at yaf.DB.GetConnection()
at yaf.DB.ExecuteNonQuery(SqlCommand cmd)
at yaf.DB.eventlog_create(Object userID, Object source, Object description)

Server Side Error Message: SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection

Event Type: Error
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 17189
Date: 9/4/2006
Time: 8:52:50 AM
User: N/A
Computer: SQL004
Description:
SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection.
Check the SQL Server error log and the Windows event logs for information about possible related problems. [CLIENT: named pipe]

Resolution

Add the following registry key and reboot the server.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SycAttackProtect{DWORD} = 0

Related Resources

Navigator

Other Knowledgebase Articles

Shared Hosting

# of Domains: 2
# of SQL Server Databases: 2
Disk Space: Unlimited
Bandwidth: Unlimited
Email: Unlimited
SQL Server 2008 R2
Monthly: $4.99
More Information About Unlimited Shared Windows Hosting Plan

Windows Hyper-V Server

Dedicated Memory:2GB
Disk Space: 200GB
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $49.99
More Information About Unlimited Windows Hyper-V Server

Dedicated SQL Server

CPU: Intel Dual-Core Sandy Bridge I3-2100
RAM: 8GB RAM
Disk: 2x320GB SATA
RAID: Host RAID 1
Bandwidth: Unlimited
Windows 2008/2003: Free
Monthly: $99.00
More Information About Unlimited Dedicated SQL Server