Solved

SQL Server Merge replication with no initial snapshot option

Posted on 2007-03-26
2
719 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
2 Comments
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
Comment Utility
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
Comment Utility
Thanks for help rboyd56
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now