Problem when sync sqlitedb with winform app deployment. #819
-
I'm working on winform project using local sqlitedb and sync with Google Cloud Sql and everything works perfectly in debug. When testing on deployment using ClickOne, after first sync complete ( Dotmim able to connect to cloud sql and create _tracking tables and store procedures. but then Dotmim could not sync 2 databases, without any exception. When adding new rows to sqlite database the Did anyone have this problem before? And what are your advice cause without any exception I don't really know what to do next. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Are you using a web api to expose the sync through a controller, and then using a If you are behind a Web Api, maybe you don't see the error raised from the server side. It's strange, I need more info to help your figure out what's happening here |
Beta Was this translation helpful? Give feedback.
-
Found the solution. Default Dotmim read/write in difference location with the app when using same relative path (Data Source=.\Local.db). Change the connection string of app to AppData path.(Note that in AppData, the Local.db remain when uninstall app) |
Beta Was this translation helpful? Give feedback.
Found the solution. Default Dotmim read/write in difference location with the app when using same relative path (Data Source=.\Local.db). Change the connection string of app to AppData path.(Note that in AppData, the Local.db remain when uninstall app)