Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Urgent question on Merge Replication

Posted on 2003-12-11
1
Medium Priority
?
551 Views
Last Modified: 2012-06-21
Hi there. I have 2 machines, one is replicating to the other. However, after a network change I want to change the roles so the the current Publisher/Distributer becomes the subscriber and vice versa. Ive deleted the publication to that subscriber, enabled the subscriber as a publisher and distributor and Now I want to replicate to the old subscriber/distributor. When I create the publication I get an error after selecting merge replication that says :
You cannot create a merge publication in Database 'RepTest'. The database contains one or more merge subscriptions that are anonymous or that use the priority of the Publisher when resolving conflicts.

To create a merge publication in this database, drop the existing merge subscriptions, create the publication, and then recreate the subscriptions'

How do I do that?? This was only ever a subscriber!! Please help!!
0
Comment
Question by:Slimshaneey
1 Comment
 
LVL 9

Accepted Solution

by:
PaulBarbin earned 2000 total points
ID: 9925846
Push or pull replication?  If pull and  you haven't dropped the subscriptions to the merge replication then they are still there on the subscriber server.  

You can drop them through enterprise manager (Replication Monitor) or with the sp_dropsubscription stored procedure.

I have had some experience with subscriptions hanging around after they should have been deleted.  I find that disabling publishing and distribution, stopping the server, restarting and "re" setting up replication will almost always clear out the cobwebs.

Paul
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

824 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