FIX: Replication Queue Reader Agent crashes when you run transactional replication in SQL Server

When you run transactional replication in Microsoft SQL Server 2008 R2, SQL Server 2012, or SQL Server 2014, the Replication Queue Reader Agent may crash, and a mini dump file is generated. Additionally, the following connectivity error message is logged in the SQL Server error log:
MSSQLSERVER 14151 Server Replication-Replication Transaction Queue Reader Subsystem: agent [XXXXXXX] failed. The Queue Reader Agent has encountered the error ''TCP Provider: An existing connection was forcibly closed by the remote host.'' when connecting to ''XXXXXXXX'' on "XXXXXXX''. Ensure that the publication and subscription are defined properly.
The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 8 for SQL Server 2012 SP1

Cumulative Update 10 for SQL Server 2008 R2 SP2

About cumulative updates for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 2911385 - Last Review: 04/25/2014 07:01:00 - Revision: 3.1

Microsoft SQL Server 2008 R2 Service Pack 2, Microsoft SQL Server 2012 Service Pack 1, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2911385