Solved

SQL Server Merge replication with no initial snapshot option

Posted on 2007-03-26
2
728 Views
Last Modified: 2012-06-27
Hi,

I am trying to setup a SQL Server 2005 merge replication without the initial snapshot.

The data on both the subscriber and the publisher is currently in an identical state and I have inherited a script that creates the publication.  After running this script, the publication is created, I then create the subscription (ensuring I do not tick the Initialize subscription checkbox).

This subscription then gets created. However when I look at the replication monitor on the publisher, there is an error, stating the initial snapshot for the publication is not yet available.

I remember that when creating a publication using the MSSM Studio wizard, there is an option (checkbox) questioning whether to create the snapshot immediately.

Therefore my thinking is that within the publication script I inherited this "create the snapshot immediately" option has not been turned off.

Can somebody please tell me how to turn off this option using t-sql (or a script) or is there a property I can change once the publication has been set up.

(apologies if the above seems muddled, but am fairly new to replication and still getting my head around it ;-)

Many thanks
...Steve
0
Comment
Question by:swtiley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
ID: 18794400
You still have to run the snapshot agent. The snapshot agent crates many of the system objects that are used by merge replication. If you do not run the snapshot then these objects will not get created so they cannot be replicated to the subscriber.

Check out this topic in Books on LIne:

ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/7d4c67e4-d683-4ba5-81bd-e6ce4f7489bf.htm
0
 
LVL 1

Author Comment

by:swtiley
ID: 18806316
Thanks for help rboyd56
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question