Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When attempting to delete a publication, I am getting the error cannot drop publication 'XX' cannot drop article 'XX'.

The subscription has been deleted at the subscriber. Any ideas on how I can force the deletion of the publication so that it can be recreated? I can execute

exec sp_dropsubscription @publication = N'XX', @subscriber = N'all'

but this has no apparent effect.

share|improve this question
that first thing that comes to my mind is it might be a permissions issue. – DForck42 Feb 4 '13 at 15:50
up vote 1 down vote accepted

sp_removedbreplication Database name works for me but sometimes when replication is really screwed up I have to remove all replication by using sp_removesrvreplication

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.