我想使用 MS Sync Framework 和 SqliteClientSyncProvider ( http://sourceforge.net/projects/sqliteclientsyn/ )实现客户端(SQLite)和服务器(SQL Server)同步应用程序
syncOrchestrator = new SyncOrchestrator();
syncOrchestrator.LocalProvider = new SqliteClientSyncProvider(clientSqlConn);
syncOrchestrator.RemoteProvider = new SqlSyncProvider("filtered_customer", serverConn, null, "Sync");
syncOrchestrator.Direction = SyncDirectionOrder.UploadAndDownload;
syncStats = syncOrchestrator.Synchronize();
在 Synchronize() 执行后得到一个 InvalidCastExcpetion :
InvalidCastExcpetion : Microsoft.Synchronisation.KnowledgeSyncProvider
有什么建议吗?