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!

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |