Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7599771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:44:35+00:00 2026-05-30T22:44:35+00:00

I am using the Microsoft Sync Framework collaboration providers. Both ends of the sync

  • 0

I am using the Microsoft Sync Framework “collaboration” providers. Both ends of the sync will use SQL Express to begin with. When provisioned the database contains a “_tracking” table for each “real” table in the database. My database is fairly large, and I don’t want to transfer the entire thing via MSF on the first sync. Is there a way to use some other method to “jumpstart” the sync when both sides are known to contain the same data? In my testing when both databases contain identical content, it looks like it downloads the entire scope, churns through the entire batch of “changes”, and then uploads the entire scope back to the server which then churns through the entire dataset again. Is there any way to update the _tracking tables (hopefully only on one side) to let the system know that the database contents are the same?

More information (edit):

From examining the contents of the tracking tables after doing an initial sync, it looks like the scope_update_peer_timestamp and local_create_peer_timestamp fields in every _tracking table need to be updated on both sides. In addition, the update_scope_local_id, scope_update_peer_key, and last_change_datetime need to be set on one of the two sides.

The last_change_datetime field is a datetime and is fairly self-explanatory.
The two _timestamp fields seem to use @@DBTS and are thus bigints that contain the equivalent of an editable timestamp column.

That still leaves a bunch of unknowns:

  • Does MSF track which peer the content of the timestamp columns come from?
  • Which peer (local or remote) drives the contents of the _timestamp fields?
  • What logic drives the contents of the update_scope_local_id and scope_update_peer_key fields?

More information on the environment (edit):

I have SQL Express/Std on both sides. The server side will eventually contain information for several clients (using multi-tenancy), so backups will not be useful since the server will contain information for multiple clients.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:44:36+00:00Added an answer on May 30, 2026 at 10:44 pm

    how are you initializing your databases? are you provisioning databases that both contain the same set of data already?

    the best way to initialize other replicas is to use the GenerateSnapshot method on the SqlCeSyncProvider that creates an SDF file to initialize other replicas or to do a back up of the database (non-SDF, SQL Server/Express database), restore it and run PerformPostRestoreFixup before doing a sync.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Microsoft Sync Framework to synchronize a SQL Server database with a
I'm currently using Microsoft Sync Framework and everything is working fine except the SQL
I wrote a Web service in ASP.NET using Microsoft Sync Framework 2.1 and SQL
Does Microsoft Sync Framework 2.1 support this scenario? I'm using ASP.NET 3.5 and Sql
I'm currently looking to use Microsoft Sync Framework (2.1) to sync clients (running SQL
I'm using Microsoft Sync framework 1.0 (without ADO.NET services) I have created 2 custom
I have the option of either using WCF or Microsoft Sync Framework for my
Using Microsoft SQL Server's database mirroring capability, can the mirroring occur between two clusters?
Using Microsoft SQL 2000, I will like to join multiples tables (A, B, C,
We have been developing a hub/spoke synchronization model using Microsoft Sync Framework and WCF,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.