Troubleshooting
Problem
Attempts to restore a Microsoft SQL Server database with Change Data Capture (CDC) enabled to an alternate location result in failures
Symptom
The restore operation, upon processing the last object and attempting to activate the database, returns messages similar to the following:
An exception occurred while executing a Transact-SQL statement or batch. Could not update the metadata that indicates database <Alternate Database Name> is not enabled for Change Data Capture. The failure occurred when executing the command '[sys].[sp_cdc_drop_objects]'. The error returned was 3729: 'Cannot drop schema 'cdc' because it is being referenced by object '<Object Name>'
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg22009330