找不到方法:SqlServerCe.SqlCeChangeTracking.CleanupMetadata [英] Method not found: SqlServerCe.SqlCeChangeTracking.CleanupMetadata
问题描述
您好
我正在尝试使用sql server 2005数据库进行双向同步b / t sqlce 3.5数据库,并按照以下示例进行操作:http://msdn2.microsoft.com/en -us / library / bb726007(SQL.100).aspx
当我发出Synchronized()命令时,我收到了以下错误:
System.MissingMethodException:找不到方法:'Void System.Data.SqlServerCe.SqlCeChangeTracking.CleanupMetadata(System.String,Int32,Int64,Int64)'。在Microsoft的Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.SetTableSentAnchor(String tableName,SyncAnchor anchor)
。在Microsoft.Synchronization.SyncAgent.TryDoDataSync(SyncStatistics& statistics)的Microsoft.Synchronization.Data.Client.InternalSyncAgent.Synchronize()
中的Synchronization.Data.Client.InternalSyncAgent.UploadChanges(SyncGroupMetadata groupMetadata)
Microsoft.Synchronization.SyncAgent.Synchronize()
在C:\Docume中的CustomerSyncTest.Form1.button2_Click(Object sender,EventArgs e) nts and Settings \wliao\My Documents\Visual Studio 2005 \Projects\CustomerSyncTest\CustomerSyncTest\Form1.cs:line 76
我没有在任何地方找到这个,帮忙?
谢谢!
wliao
Hi
I'm trying to do a bidirectional sync b/t a sqlce 3.5 database with a sql server 2005 database, and following the example at: http://msdn2.microsoft.com/en-us/library/bb726007(SQL.100).aspx
when I issue the Synchronized() command, I recieved the following error:
System.MissingMethodException: Method not found: 'Void System.Data.SqlServerCe.SqlCeChangeTracking.CleanupMetadata(System.String, Int32, Int64, Int64)'.
at Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.SetTableSentAnchor(String tableName, SyncAnchor anchor)
at Microsoft.Synchronization.Data.Client.InternalSyncAgent.UploadChanges(SyncGroupMetadata groupMetadata)
at Microsoft.Synchronization.Data.Client.InternalSyncAgent.Synchronize()
at Microsoft.Synchronization.SyncAgent.TryDoDataSync(SyncStatistics& statistics)
at Microsoft.Synchronization.SyncAgent.Synchronize()
at CustomerSyncTest.Form1.button2_Click(Object sender, EventArgs e) in C:\Documents and Settings\wliao\My Documents\Visual Studio 2005\Projects\CustomerSyncTest\CustomerSyncTest\Form1.cs:line 76
I didn't find this mentioned anywhere, help?
Thanks!
wliao
推荐答案
没关系。我想通了。
这篇关于找不到方法:SqlServerCe.SqlCeChangeTracking.CleanupMetadata的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!