[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

SQL Server Merge replication with no initial snapshot option

Posted on 2007-03-26
2
Medium Priority
?
731 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 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