I'm creating an anonymous merge HTTPS subscription using RMO and vb.net 2005.
I get the following error on the mergePullSubscription.create call
+ InnerException {"'@.job_login' must be a valid Windows Login in the form : 'MACHINE\Login' or 'DOMAIN\Login'. Please see the documentation for 'sp_addmergepullsubscription_agent'.
Changed database context to 'brucesTest'."} System.Exception
What do I need to do to get this parameter set ?
I'm using the code from BOL to create it...
Thanks
BruceHi, Bruce:
You can specify the agent's properties by do the following:
subscription.SynchronizationAgentProcessSecurity.Login = winLogin;
subscription.SynchronizationAgentProcessSecurity.Password = winPassword;
For a completed reference and code snippet, please refer to this TOP in BOL.
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/repref9/html/97a232ce-7171-4124-
8c30-4a4e7f991183.htm
Thanks
Yunwensql
No comments:
Post a Comment