Mimetis / SyncWinRT

Implementation of the old Sync Framework for Windows Phone, Windows Store apps, iOS and Android (thx to Xamarin)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provisioning Client SQLite Database.

vikivenkat opened this issue · comments

Hello. I tried to implement the sync solution based on the provided example. I am trying to sync a local SQLite db in a Windows phone with a SQL Server DB 2014 DB in the server. I had followed the steps and provisioned the SQL Server DB. I assume that i need to do the same for the local SQLite DB as well for the Sync to work? I do not see any instructions on how to do the same. Am i missing anything? Any clarity on this would be highly appreciated. Thanks.

No the client part, with SQLite is generated during the 1st sync processus

Hi Mimetis, Thanks for the reply. I went through the source code for the Sync framework and I see that the framework tries to create the necessary tables before the sync. The problem I have is that sync call is able to identify and return the number of updated rows from the server (SQL Server), but for some reason, the required tables are not created in the local DB (SQLite on Windows Phone 8). Looks like the connectivity to the local db is not happening. The framework also does not throw any related exceptions, so I am not sure how to debug the issue.
I am not sure what i might be missing. Any thoughts or suggestions? Does the framework write logs that i can review?

Do you have installed and reference SQLite on your project ? (http://visualstudiogallery.msdn.microsoft.com/cd120b42-30f4-446e-8287-45387a4f40b7 )

Sebastien