Friday, February 24, 2012

changing merge agent profile for HTTPS - mergeSubscriberType = anonymous

Hi


We are using HTTPS merge replication

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

Some of our subscribers have low-quality internet connections - how do I get the agent at the publisher/distributer use a slower profile - I've read How to: Work with Replication Agent Profiles (Replication Transact-SQL Programming)
but can't see where you specifiy an alternate agent profile

On the distributer / publisher (same machine) I go to replication monitor -> Warnings and Agents - I can only set the profile for the snapshot agent....

thanks
Bruce

To see the various profiles, in replication monitor, right-click on a merge subscription and select Agent Profile. YOu should see various agent profiles, such as High Volume Server-to-Server Profile, Slow link agent profile, etc.

You can assign a non-default profile programmatically, look up AgentProfile Class.

|||

I right click on the merge subscription and there is no such option - is this 'cause subscription.CreateSyncAgentByDefault = False

Thanks
Bruce

|||
Bruce,

If your using RMO in your service to synchronise then try this property of the mergesynchronizationagent

mergesynchronizationagent.ProfileName = "Slow link agent profile."

Rab

No comments:

Post a Comment