all groups > sql server replication > november 2005 >
You're in the

sql server replication

group:

Using DISTRIB.EXE or REPLMERG.EXE in SQL Express


Using DISTRIB.EXE or REPLMERG.EXE in SQL Express RSH
11/30/2005 9:06:15 AM
sql server replication:
Can I use DISTRIB.EXE or REPLMERG.EXE to force SQL Express to synchronize a
Pull Subscription on the SQL Express machine to the publisher (SQL Server)?


Re: Using DISTRIB.EXE or REPLMERG.EXE in SQL Express Raymond Mak [MSFT]
11/30/2005 9:26:56 AM
Yes, and doing so is not as "artificial" as it appears since these are the
same executables run by the SQL Server Agent jobs that are configured
automatically for > Express SKUs.

-Raymond
[quoted text, click to view]

Re: Using DISTRIB.EXE or REPLMERG.EXE in SQL Express Raymond Mak [MSFT]
11/30/2005 9:42:38 AM
Off the top of my head, SQLExpress does not include components that allow
you to set up your SQL Express instance as a publisher but components for
synchronizing subscriptions on SQL Express instances should be included.
This should include both the distribution agent executable (distrib.exe) and
the merge agent executable (replmerg.exe). So as long as you can figure out
the appropriate parameters for the executables, you should be goood to go.

-Raymond

[quoted text, click to view]

Re: Using DISTRIB.EXE or REPLMERG.EXE in SQL Express Raymond Mak [MSFT]
11/30/2005 10:38:55 AM
There are two possibilities that I can think of:

1) The publication has independent_agent set to false, and for this to work,
you should not specify the -Publication parameter on the agent command line
2) The -SubcriptionType parameter is not specified with the appropriate
value on the command line (defaults to push)

Perhaps a better way to go about doing this is to create a "similar" pull
subscription on a > Express instance, extract the command line for that from
sysjobsteps, and use that as a template.

-Raymond

[quoted text, click to view]

Re: Using DISTRIB.EXE or REPLMERG.EXE in SQL Express RSH
11/30/2005 12:32:39 PM
I thought SQL Server Express didn't include a Replication Synchronization
engine??? Or is it just not supported in the interface??

So based on what you said here I should be able to pass through the
commandline the appropriate parameters and SQLExpress will force
synchronization with the SQL Server "mothership" even when I have set the
SQLExpress subscriber as a Pull Subscription in a Merge replication
scenerio????





[quoted text, click to view]

Re: Using DISTRIB.EXE or REPLMERG.EXE in SQL Express RSH
11/30/2005 1:17:19 PM
Okay it looks like DISTRIB.EXE is going to work...but I keep getting the
error: Agent message code 21056. The subscription to publication
'TestPullReplication' has expired or does not exist.




[quoted text, click to view]

AddThis Social Bookmark Button