=?Utf-8?B?bWNrZW5uZWR5?= <mckennedy RemoveThis @discussions.microsoft.com> wrote
in news:45A5D82D-AD92-4C3A-BC29-D042579D67DF@microsoft.com:
> I am trying to synchronise a replica to a designated hub. The name
> of the server that the replica is on has changed and I have
> recovered the designated hub using "recover design master". When I
> go to sychronise the replica though, it will not sychronise when I
> browse to the new designated hub-I get a message "Local or
> anonymous replicas must only synch to their designated hub
> replica". Any way of fixing this?
Well, your first mistake was using a local or anonymous replica:
http://trigeminal.com/usenet/usenet027.asp?1033
There is no way to fix it.
And that's precisely why it's a bad idea to ever even contemplate
using them.
If it's not an anonymous or local replica, then you might want to
look at this:
http://trigeminal.com/usenet/usenet016.asp?1033
I have often used an empty partial replica to "wake up" a
replication site that has lost its ability to synch with other
synchronizers. Changing the DM is precisely the kind of situation
where that kind of thing is helpful.
Another point:
Try not to store your DM on a machine whose name is likely to
change. If the server where your DM lives is being replaced with a
new server, then you should use the Jet MoveReplica command to move
it to the new server. This will preserve the original ReplicaID of
the DM and retain all the information about all the other replicas.
Once you've synched from the location you've moved it to, all the
other replicas will be fine.
Unfortunately, MS has made little effort to make the MoveReplica
programatically accessible. It's available through the UI of
Replication Manager, but it's virtually impossible to acquire that
any more. I use the TSI Synchronizer to move replicas, as that's the
only place I know that the command is programmatically exposed.
If JRO had been properly designed, it would have included the
MoveReplica command, but it's quite clear MS didn't take JRO
seriously at all when they created it, as there is virtually no
functionality found there that is not in DAO (the only thing I can
think of is that JRO can initiate an indirect synch in code, while
DAO can't).
--
David W. Fenton
http://www.dfenton.com/
usenet at dfenton dot com
http://www.dfenton.com/DFA/