Question

I Have two Databases, One is on Local Server and another is on Web Server. Now i wnat to Synchronize these Databases. I want to Use Microsoft Sync Framework for it. I found a Tutorial Here:-

http://social.technet.microsoft.com/wiki/contents/articles/2190.tutorial-synchronizing-sql-server-and-sql-server-compact-sync-framework.aspx

I Followed Steps But when i use DbSyncScopeDescription in my Main Method i got this Error:-

          The type or namespace name 'DbSyncTableDescription' could not be found (are you missing a using directive or an assembly reference?) 

Can Anybody tell me Exact Procedure of doing Synchronizing sql server database or any working example?

Please Help me.

Thanks in Advancce........

Was it helpful?

Solution

You might not have added reference to your project. You need to add

Microsoft.Synchronization.Data.dll
Microsoft.Synchronization.Data.Server.dll
Microsoft.Synchronization.Data.SqlServer.dll

These assemblies to your project

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top