FIX: Replication Log Reader Agent fails when you enable CDC and transactional replication for some columns in SQL Server

Applies to: SQL Server 2008 R2 Service Pack 2SQL Server 2008 R2 DatacenterSQL Server 2008 R2 Developer

Symptoms


When you enable change data capture (CDC) and transactional replication for some columns of a table in Microsoft SQL Server 2008 R2, SQL Server 2012, or SQL Server 2014, the Log Reader Agent may fail occasionally, and you receive the following error messages:
The process could not execute 'sp_replcmds' on 'SERVERNAME'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
Get help: http://help/MSSQL_REPL20011
Could not locate text information records for the column "ColumnName", ID 18 during command construction. (Source: MSSQLServer, Error number: 18773)
Get help: http://help/18773

Resolution


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

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.