DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2681514 - Last Review: April 16, 2012 - Revision: 1.0

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.

On This Page

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  (http://support.microsoft.com/kb/2679367/ ) Cumulative Update package 6 for SQL Server 2008 R2 Service Pack 1
Note 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  (http://support.microsoft.com/kb/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 (http://msdn.microsoft.com/en-us/library/ms146878(v=sql.105).aspx)

APPLIES TO
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Workgroup
  • Microsoft SQL Server 2008 R2 Web
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2681514
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support