SyncFramework upgrade from 1.0 to 2.0 Sql Server CE database change tracking issue

Posted by Andronicus on Stack Overflow See other posts from Stack Overflow or by Andronicus
Published on 2010-02-09T11:23:48Z Indexed on 2010/05/18 13:11 UTC
Read the original article Hit count: 613

I'm trying to upgrade an application that uses Sync Framework 1.0 to synchronise a SqlServerCe database with SqlServer 2005. On the client, the existing database already has change tracking enabled, but when the sync is initiated SyncFramework 2.0 fails to find the last Sync Received anchor and then tries to re=initialize the Change tracking, which fails.

I get the exception...

{System.Exception} = {"The specified change tracking operation is not supported. To carry out this operation on the table, disable the change tracking on the table, and enable the change tracking."}

It seems like all I can do is delete the local database and recreate it. Which is not a great solution for us, since some of the data in the clients database is not synced with the server, and our users would prefer not to loose this data in the upgrade.

Is there any reason why SyncFramework 2.0 cannot locate the existing Last received sync anchor?

© Stack Overflow or respective owner

Related posts about syncframework

Related posts about sql-server-ce