I am trying to synchronize table in Sql CE 3.5(local to my application) to SQL Server 2012(remote). All provisions are created fine. But when I try to synchronize, I am getting following exception. I don't know why I am getting this error?
{Microsoft.Synchronization.Data.DbNotProvisionedException: The current operation could not be completed because the database is not provisioned for sync or you not have permissions to the sync configuration tables. at Microsoft.Synchronization.Data.SqlServerCe.SqlCeManagementUtils.VerifyRuntimeAndSchemaVersionsMatch(SqlCeConnection connection, SqlCeTransaction trans, String objectPrefix, Boolean autoUpgrade, Boolean throwWhenNotProvisioned) at Microsoft.Synchronization.Data.SqlServerCe.SqlCeSyncProvider.Connect() at Microsoft.Synchronization.Data.SqlServerCe.SqlCeSyncProvider.InitializeAdapters()
Do I need to set any permissions?How to do it?