Solved

SQL Server Merge replication with no initial snapshot option

Posted on 2007-03-26
2
721 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
A short film showing how OnPage and Connectwise integration works.

948 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

22 Experts available now in Live!

Get 1:1 Help Now