Solved

Sql Server 2005 replication monitor shows publication that has been deleted

Posted on 2012-04-09
8
673 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

739 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