?
Solved

Sql Server 2005 replication monitor shows publication that has been deleted

Posted on 2012-04-09
8
Medium Priority
?
689 Views
Last Modified: 2012-04-12
SQL Server replication monitor shows publication that has been deleted\dropped.  How can I make this publication disappear from the Replication Monitor?
0
Comment
Question by:dfr031260
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 37825968
Have you tried using sp_droppublication ?
0
 

Author Comment

by:dfr031260
ID: 37827678
exec sp_droppublication @publication='MergeRepl_scds_pro_test09'
GO

Failed:
Msg 14013, Level 16, State 1, Procedure sp_MSrepl_droppublication, Line 86
This database is not enabled for publication.

The publication is still in the replication monitor
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 37830545
What about sp_removedbreplication ?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:dfr031260
ID: 37834463
Yes and I also tried:
exec sp_removedistpublisherdbreplication 'MergeRepl_scds_pro_test09','scds_pro

As you can see from the attached image, the publication is in the monitor, but there is nothing associated with it AND there is no publication associated with it either...SMH
ReplicationMonitorProblem-201204.JPG
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 1140 total points
ID: 37835508
Here is what I have done in the past:
1. Create a dummy publication with the same name (just one article).
2. Now drop it.
0
 

Author Comment

by:dfr031260
ID: 37838931
Will try this right now...Get back to you in 15 minutes or less
0
 

Author Comment

by:dfr031260
ID: 37839020
NICE!!!! It worked
0
 

Author Closing Comment

by:dfr031260
ID: 37839028
Nice work!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question