Error when Inserting data to Replicated Databases

In a database previosly enabled for replication, upon attempting to insert records the following error is raised.

Invalid object name ‘dbo.MSmerge_contents’.

To resolve this, when replication is enabled, additional columns and triggers are created. When replication is removed, there are times that newly added tables are not removed.

To overcome this run:

sp_removedbreplication  @dbname =  ‘dbname’ and it will remove that replicated related objects from the database


No comments yet... Be the first to leave a reply!