我正在尝试升级使用 Sync Framework 1.0 以将 SqlServerCe 数据库与 SqlServer 2005 同步的应用程序。在客户端上,现有数据库已经启用了更改跟踪,但是在启动同步时 SyncFramework 2.0 无法找到最后收到的同步anchor 然后尝试重新初始化更改跟踪,但失败了。
我得到了例外...
{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."}
看来我所能做的就是删除本地数据库并重新创建它。这对我们来说不是一个很好的解决方案,因为客户端数据库中的一些数据没有与服务器同步,我们的用户不希望在升级时丢失这些数据。
SyncFramework 2.0 是否有任何原因无法找到现有的 Last received 同步锚?