Microsoft distributes Microsoft SQL Server 2008 R2 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release.

Symptoms

Consider the following scenario:

  • You create a transactional replication publication on an instance of Microsoft SQL Server 2008 R2.

  • The publication contains a table that has an XML column.

  • You initialize the publication, and then one of the following events occurs in the table:

    • A row is inserted that contains an empty string in the XML column.

    • A row is updated by inserting an empty string into the XML column.

In this scenario, Replication Log Reader Agent crashes, and the replication fails.

Note This issue does not occur if the XML column has the NULL value.

Resolution

Cumulative update information

SQL Server 2008 R2 Service Pack 1

The fix for this issue was first released in Cumulative Update 6. For more information about how to obtain this cumulative update package for SQL Server 2008 R2 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

2679367 Cumulative Update package 6 for SQL Server 2008 R2 Service Pack 1Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 Service Pack 1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2567616 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 1 was released

Workaround

To work around this issue, follow these guidelines:

  • Do not insert a row that contains an empty string in the XML column.

  • Do not update a row by inserting an empty string into the XML column.

Status

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

References

For more information about Replication Log Reader Agent, visit the following Microsoft Developer Network (MSDN) website:

General information about Replication Log Reader Agent

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×