Solved

Sql Server 2005 replication monitor shows publication that has been deleted

Posted on 2012-04-09
8
663 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
  • 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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 75

Accepted Solution

by:
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.
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

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.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

758 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

22 Experts available now in Live!

Get 1:1 Help Now