Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Trouble initializing from a snapshot

$
0
0
I have a main publisher (uses a filtered publication using row filters) that replicates to several republishers.  Each of these republishers has their own set of data.  Each republisher replicates to a set of clients running sql express 2008 r2.  Replication has been setup and working well for over a year.  Suddenly we started having issues with one of our republishers.  All the existing subscribers were errored out saying the publication either expired or didn't exist.  It did exist but after many hours of trying to troubleshoot I decided I would just drop and recreate the publication at our republisher.  I did this but it complained that it already existed.  To make sure everything was clean I ended up deleting the entire republisher database and recreated that as well.  I created a new push subscription to push data down from our main publisher to our repub server.  Everything worked I could see the data got pushed down.  I tried creating a new publication and it complained that many of the articles couldn't be added cause they existed in another publication (which is odd cause I deleted the entire database and recreated it).  I tried several times dropping the publication (even executing sp_removedbreplication) and recreating it.  Finally I created the publication with a single article and it worked.  I was able to go in to the publication properties and add all the other articles.  I generated a new snapshot and that worked.  So then I tried syncing our clients to the republisher.  The local db was created from scratch, a new subscription to our republisher was created, I could see the snapshot being applied to the local database and some file eventually hung.  After sometime it errored out with the message that the snapshot couldn't be applied...Incorrect syntax near'x', and x always seems to change.  I'm lost at this point and don't know where to go.  I've deleted and regenerated snapshot so many times and it still is erroring out.  I've deleted entire databases and deleted publications to clean things up but am still having issues.  Do I need to delete our main publication at the main publisher?  I really don't want to do this if I don't have to.  Thats going to break replication for all our republisher servers.

Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>