Hi ,
I am developing mobile application using sync services.
For this a am using webservice.
I want to know which steps to be follow to complete the application & run it successfully.
whenever i try to run the application, i get the error that system.synchronization.data assembly version problem.
Is anybody know how to deal with this problem.
following is the code-
Proxy.Service obj=new global::SyncTest.Proxy.Service();
obj.Url="http://10.85.0.111:1634/WebserviceForSync/Service.asmx";
MessageBox.Show(obj.HelloWorld());
SyncAgent sync = new SyncAgent();
SqlCeClientSyncProvider client = new SqlCeClientSyncProvider(connection);
//sync.LocalProvider = new SampleClientSyncProvider();
sync.LocalProvider = client;
sync.RemoteProvider = new ServerSyncProviderProxy(obj);
SyncTable synTable = new SyncTable("Emp");
SyncGroup SyncGroup = new SyncGroup("Details");
synTable.CreationOption = TableCreationOption.DropExistingOrCreateNewTable;
synTable.SyncDirection = SyncDirection.Bidirectional;
synTable.SyncGroup = SyncGroup;
sync.Synchronize();
I get the error for the syncagent & its methods like local provider & remoteprovider.
Please help me out in this issue.
Forgive me for my english