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

can't figure values for sp_addmergepullsubscription_agent

$
0
0

Hi 

I'm trying to configure a web synchronization, I completed all steps and stuck on the very last one "Configuring the subscription"

the Subscriber can only connect to the Publisher through a Web server by using HTTP
I'm following this tutorial "
https://msdn.microsoft.com/en-us/library/ms345206(v=sql.105).aspx"

here is the t-sql i tried (at the subscriber)

USE [rep_db]
EXEC sp_addmergepullsubscription 
@publisher = 'https://www.mydomain.com/SQLReplication/replisapi.dll', 
@publication = N'rep_db_publication', 
@publisher_db = N'rep_db',
@subscriber_type = N'anonymous';

Command(s) completed successfully.

EXEC sp_addmergepullsubscription_agent 
@publisher = 'https://www.mydomain.com/SQLReplication/replisapi.dll', 
@publisher_db = N'rep_db', 
@publication = N'rep_db_publication', 
@distributor = 'https://www.mydomain.com/SQLReplication/replisapi.dll', 
@job_login = N'subscriber-pc\user1', 
@job_password = N'password',
@use_web_sync = 1,
@internet_security_mode = 0,
@internet_url = N'https://www.mydomain.com/SQLReplication/replisapi.dll',
@internet_login = N'net_login',
@internet_password = N'mypassword';

Command(s) completed successfully.

but the agent can't be started (even if I try to start it from the cmd)

kind regards


Viewing all articles
Browse latest Browse all 4054

Trending Articles



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