Hi All!
I am facing issues with Merge Replication in SQL Server 2012. The replication type is push-based with both the publisher and the distributor on the same server. Currently I have 5 subscribers which were replicating perfectly till end last week but today I'm facing metadata cleanup issues with all of them. Here is the error :-
-------------------------------------------------------------------------------------------------------------------
Source: Merge Replication Provider
Number: -2147199466
Message: The merge process could not perform retention-based metadata cleanup in database 'XYZ'. If this failure continues, try increasing the query timeout for this process, or try reducing the retention period. When troubleshooting, restart the synchronization
with verbose history logging and specify an output file to which to write.
2014-06-30 01:23:59.322 Percent Complete: 0
2014-06-30 01:23:59.322 Category:SQLSERVER
Source: XYZ-SQL2012
Number: 206
Message: Operand type clash: bigint is incompatible with uniqueidentifier
2014-06-30 01:23:59.385 Percent Complete: 0
2014-06-30 01:23:59.385 Category:SQLSERVER
Source: XYZ-SQL2012
Number: 206
--------------------------------------------------------------------------------------------------------------------
I can see that all the subscribers are replicating perfectly every 15 mins with the server yet they are showing the above error. For all the subscribers, the subscription expiration is set for an interval of 14 days. I have tried checking the logs but just couldn't get any clues and don't know where to start looking.
Any help would be highly appreciated.
Thanks