Sql Server 2005 replication monitor shows publication that has been deleted

Posted on 2012-04-09
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?
Question by:dfr031260
  • 5
  • 3
LVL 75

Expert Comment

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

Author Comment

ID: 37827678
exec sp_droppublication @publication='MergeRepl_scds_pro_test09'

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
LVL 75

Expert Comment

by:Anthony Perkins
ID: 37830545
What about sp_removedbreplication ?

Author Comment

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 75

Accepted Solution

Anthony Perkins earned 285 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.

Author Comment

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

Author Comment

ID: 37839020
NICE!!!! It worked

Author Closing Comment

ID: 37839028
Nice work!

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now