Monday, March 19, 2012

applying snapshot from alternate location

Hi


We are using HTTPS merge replication - is it possible to specify an alternative location when applying the initial snapshot ?


Thanks
Bruce

yes, it's possible. Is it not working in your case?|||

I'm talking about where the subscriberType is anonymous if that helps...

Our setup is as follows...

subscription.CreateSyncAgentByDefault = False -- I wrote a windows service to synchronise
subscription.UseWebSynchronization = True
subscription.InternetSecurityMode = AuthenticationMethod.BasicAuthentication
subscription.SubscriberType = MergeSubscriberType.Anonymous

I can't see anything in the doco about specifying alternate snapshot location in this case (where subscription.SyncType = SubscriptionSyncType.None)

At the moment we are persisting with downloading the initial snapshot over the 'net - which for some of our clients in regional Australia takes forever - they are on horrible dial-up connections - it's the darkages in parts of this country !

So if I can download the initial snapshot locally to get them going it'll be a relief !

Thanks
Bruce

|||

Hi Bruce,

From your posts, I gather that you are using a no-sync subscription.

You can specify an alternate snapshot location. BOL has more info on that.

However in such a scenario, I do not see the need to download all the files because it is a no-sync subscription and need only few files. But due to a bug, we indeed do download all the files from the snapshot location.

So even if you do provide an alternate snapshot location, the files will still be downloaded even though all may not be applied.

I have seen this happen internally concurrently and I happened to read your post today.

I hope that we can fix it in the Service Pack 2 timeframe. Till then, you will have to bear ths burden of downloading the files.

No comments:

Post a Comment