We are in the process of setting up merge replication of portions of a
database between 2 servers. We have identified the tables, manually created
the articles to ensure that there is no problem with foreign keys, and run
the replication script. The script creates a snapshot agent and a merge
agent. We manually run first the snapshot agent and then the merge agent.
The snapshot agent completes with 65 aritcles created. The merge agent
seems to get through all tables (performing changes to the conflict
resolution, bulk copying the data, and applying the changes to triggers and
DRI), but then stops with the error below. On subsequent attempts to run
the agent it fails immediatly with the same error.
Error data:
Last Command: {call sp_mergemetadataretentioncleanup(?, ?, ?)}
Error Message:
The merge process could not perform retention-based meta data cleanup in
database 'NITSS2KChkRep'.
Error Detail:
The merge process could not perform retention-based meta data cleanup in
database 'NITSS2KChkRep'.
(Source: Merge Replication Provider (Agent); Error number: -2147199467)
--------------------------------------------------------------------------- Could not find stored procedure 'sp_MScleanup_zeroartnick_genhistory'. (Source: BootNet (Data source); Error number: 2812) --------------------------------------------------------------------------- The sp_mergemetadataretentioncleanup stored proc exists on the server that TIA Ron Lounsbury
-----------------------------------
-----------------------------------
is pushing the replication (and public has exec permission), but it does not
exist on the reciepient server. Can anyone tell me what is happening here
and how to fix it?