Groups | Blog | Home
all groups > sql server replication > april 2007 >

sql server replication : Distribution database gone but now can't get rid of publications


jughead
4/18/2007 11:47:48 PM
I have been messing around with Replication on MS Virtual Server.
Set up a Distributor on a seperate machine from the publication
database.

For some reason unkown my Distribution database went in Suspect Mode.
Finally got rid of it using
sp_dropdistributiondb @database = 'distribution'

Now I can't get delete any of my publications.
They still look towards my Distribution database which is no longer a
distributor

tried

exec sp_dropsubscription
@publication='AdventureWorksCentralPublication',@article='all',@subscriber='all',
@ignore_distributor=1

sp_removedbreplication

SHould I just re-set up my Distributor again and leave the
publications? Would that even work?
THere has to be some way to delete my publications

Thanks
Mike
Hilary Cotter
4/19/2007 12:00:00 AM
Did you follow the steps outlined here?

http://support.microsoft.com/kb/324401

[quoted text, click to view]

Paul Ibison
4/19/2007 3:32:02 AM
Did you run sp_removedbreplication on the publisher and subscribers also? If
so, and you have removed the distribution database then perhaps you are just
seing residual data from tempdb which is reported in the replication monitor.
try refreshing the replication monitor (sp_MSload_replication_status) to see
if this removes the reference.
jughead
4/19/2007 9:32:23 AM
[quoted text, click to view]

Since I am working in Virtual Server I nuked the machines and
recreating them. I will watch more closely what I do next time in the
setup. Thanks everyone. This is by far the best Replication Group on
the IntraWeb
AddThis Social Bookmark Button