Export (0) Print
Expand All

MSSQL_ENG014005

Product Name

SQL Server

Product Version

10.0

Product Build Number

 

Event ID

14005

Event Source

MSSQLSERVER

Component

SQL Server Database Engine

Symbolic Name

Message Text

Could not drop publication. A subscription exists to it.

You have tried to drop a publication which has one or more associated subscriptions. A publication can only be dropped if there are no associated subscriptions.

Drop the subscriptions before dropping the publication. If you use SQL Server Management Studio to drop the publication, it will give you the option to automatically drop all associated subscriptions before dropping the publication. If you use stored procedures, you must explicitly drop the subscriptions first. For more information, see How to: Delete a Push Subscription (Replication Transact-SQL Programming) and How to: Delete a Pull Subscription (Replication Transact-SQL Programming).

If no subscriptions appear to exist for the publication or if you see this error when you create a publication, you might have a previous subscription that was not completely cleaned up when it was removed. Execute sp_removedbreplication (Transact-SQL) on the database to remove all objects and settings related to replication.

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

Community Additions

ADD
Show:
© 2014 Microsoft