Error updating table with rowguidcol
For Spanish version visit this link Error al actualizar tabla con columna rowguid
In one of our environments, we have two SQL Server 2008 R2 DB aligned together by Peer to Peer replication, and each of the databases have a Merge replication with multiple subscribers.
When we try to make an update on a article/table that is published in Merge and Peer to Peer shows this error:
“Error executing a batch of commands. Retrying individual commands”, “Updating columns with rowguidcol property is not allowed”
This error occurs because the stored procedures that Peer to Peer uses to make the updates, update all the columns, putting the new value or the old value, and updates in the rowguidcol are not allowed.
After reporting this error to Microsoft, they give the option to create a “custom” stored procedure, would only have to omit the line of code that updated the rowguidcol. This is not supported by Microsoft, “You must support the logic in the stored procedure; Microsoft does not provide support for custom logic.” as described in Specifying How Changes Are Propagated for Transactional Articles
Microsoft did not give us a date for a possible official fix.
40.416691
-3.700345
Like this:
Like Loading...
Filed under English Version, SQL Server 2008 Eng, SQL Server Eng
Tagged with 2008, a, allowed, batch, columns, commands, databases, environments, error, executing, fix, LenSQL, merge, microsoft, not, of, peer, property, r2, replication, rowguid, rowguidcol, Server, SQL, table, to, transactional, updating
About Fran Lens
SQL Server Analyst at Avanade Spain http://www.lensql.net