Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Replication

Author  Topic 

john.burns
Posting Yak Master

100 Posts

Posted - 2007-04-27 : 09:16:19
It seems my transact replication is all mucked up. I've deleted
the publisher within replication/publications... but in replication
monitor it still shows up... did not delete cleanly. When I run
backup scripted replication it produces this message 'Could not drop publication. A subscription exists to it.'

Does anyone have any ideas how to clean this down and remove
all previous repl setup. Ite seems that this is rather buggy as
I've struggled with these types of issues before.

Any help would be appreciated,
John

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-04-27 : 09:37:07
You should remove subscribers first before deleting publication.
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2007-04-27 : 10:06:11
Using sp_dropsubscription will not work because I don't have the publisher and I dont' have the subscriber any more, they are just alone sql servers now both using sql 2000
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2007-04-27 : 10:21:34
Any way to manually clean up?
thank you
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-04-27 : 12:59:41
Go to tools -> replication in em, check if disable publishing and distrubition still available.
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2007-04-27 : 15:13:27
I ended up cleaning manually. This worked well.
Deleted from the following tables in dist. db:
MSarticles
MSdistribution_agents
MSdistribution_history
MSlogreader_agents
MSsnapshot_agents
MSlogreader_history
MSsnapshot_history
MSsubscriber_info
MSsubscriptions
Mspublications
Go to Top of Page
   

- Advertisement -