Hi, i was wondering whether anybody could assist with an issue im having with my smart device application. I'd posted this in another thread but wasnt getting any love so.....
Basically, i've created a smart device application that utilises SQL CE. I want to be able to enter information into my client database (on the smart device)and then sync it back to my sql express database. My application is working fine although the problem im facing is when it comes to sync'ing the updates i've made to the server.
Im relatively new to vb.net and data synchronization but have been following a number of walkthroughs for OCS applications.
Anyhow, when i try to initiate the bi-directional sync i get the following error,
Any assistance would be greatly appreciated.
Ben.
Basically, i've created a smart device application that utilises SQL CE. I want to be able to enter information into my client database (on the smart device)and then sync it back to my sql express database. My application is working fine although the problem im facing is when it comes to sync'ing the updates i've made to the server.
Im relatively new to vb.net and data synchronization but have been following a number of walkthroughs for OCS applications.
Anyhow, when i try to initiate the bi-directional sync i get the following error,
This is the code im using to initiate the sync,"Value can not be null. Parameter name: ServerSyncProvider"
VB.NET:
Private Sub NewMenuItemMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewMenuItemMenuItem1.Click
Dim syncAgent As WQACacheSyncAgent = New WQACacheSyncAgent()
Dim syncStats As Microsoft.Synchronization.Data.SyncStatistics = syncAgent.Synchronize()
Me.WATERQUALITYASSURANCEDataSet.Customer.Merge(CustomerTableAdapter.GetData())
End Sub
Any assistance would be greatly appreciated.
Ben.