-
Hi, I am upgrading Dotmim.Sync to the latest version 0.9.7. Sync is working fine with the old version but syncing to Sqlite database is taking too much time so we have decided to upgrade to the latest version. but I am getting this error: Procedure or function "" has too many arguments specified. Steps I have followed:
Here is my sample code from console application to sync data from SQL server to Sqlite database:
Can someone please let me know what I am doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
I don't know what happens here, Need more details on the error Another point: Don't call sync with a scope name set to |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply and thanks a lot. After applying Dropall, then Deprovision, and Then Provision. Syncing is working fine. One More thing I have noticed: New framework is changing DataTypes of Database columns in SQLite, and All DateTime columns are not converting into text. Do you have any idea why this is happening? |
Beta Was this translation helpful? Give feedback.
I don't know what happens here, Need more details on the error
But what I'm thinking here is that your server has not been correctly upgraded.
Can you try with a fresh server database without any DMS metadata (no stored proc, no triggers no tracking tables, no scopes tables) and see if it's working correctly.?
You can call DropAllAsync to drop everything if you don't know how to do it manually, using a
RemoteOrchestrator
to target your server database (don't do it on a prod database !!!)Another point: Don't call sync with a scope name set to
DefaultScope
since it's the default scope (and it can lead to potential edges issues i did not test)