Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize



Product Name

SQL Server

Event ID


Event Source


Symbolic Name

Message Text

The Merge Agent failed after detecting that retention-based metadata cleanup has deleted metadata at the Publisher for changes not yet sent to the Subscriber. You must reinitialize the subscription (without upload).

The merge process failed because it detected that retention-based metadata cleanup at the Subscriber has deleted metadata for changes that have not been sent to the Publisher.


Error -2147199402 may also be caused by other problems with the metadata, such as configuring the publication for aggressive cleanup or subscriber syncing outside of the retention period.

Reinitialize the subscription by using @upload_first = 'FALSE'.


The last sync date can be found in the sysmergesubscriptions table.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft