Solved

Sql Server 2005 replication monitor shows publication that has been deleted

Posted on 2012-04-09
8
676 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

726 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