primary keys columns in criteria is not matching the number of primary keys columns #1097
Closed
sojan1
started this conversation in
Show and tell
Replies: 1 comment
-
even though the error says it was related to the primary key, it was not primary key mistake was this, I removed the XML fields when provisioning. but the fields were 'NOT NULL fields' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dotmim.Sync.SyncException: '[InternalApplyChangesAsync]..[InternalApplyChangesAsync]..[InternalApplyTableChangesAsync]..Specified argument was out of the range of valid values. (Parameter 'Can't make a query on primary keys since number of primary keys columns in criteria is not matching the number of primary keys columns in this table')'
Dotmim.Sync.SyncException
Message=[InternalApplyChangesAsync]..[InternalApplyChangesAsync]..[InternalApplyTableChangesAsync]..Specified argument was out of the range of valid values. (Parameter 'Can't make a query on primary keys since number of primary keys columns in criteria is not matching the number of primary keys columns in this table')
Source=Dotmim.Sync.Core
StackTrace:
at Dotmim.Sync.LocalOrchestrator.<>c__DisplayClass0_0.<b__3>d.MoveNext()
--- End of stack trace from previous location ---
at Dotmim.Sync.LocalOrchestrator.<>c__DisplayClass0_0.<b__3>d.MoveNext()
--- End of stack trace from previous location ---
at Dotmim.Sync.SyncPolicy.d__17
1[[System.ValueTuple
3[[Dotmim.Sync.SyncContext, Dotmim.Sync.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Dotmim.Sync.ClientSyncChanges, Dotmim.Sync.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Dotmim.Sync.ScopeInfoClient, Dotmim.Sync.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()at Dotmim.Sync.LocalOrchestrator.InternalApplyChangesAsync(ScopeInfo cScopeInfo, ScopeInfoClient cScopeInfoClient, SyncContext context, ServerSyncChanges serverSyncChanges, ClientSyncChanges clientSyncChanges, ConflictResolutionPolicy policy, Boolean snapshotApplied, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress) at Dotmim.Sync.SyncAgent.SynchronizeAsync(String scopeName, SyncSetup setup, SyncType syncType, SyncParameters parameters, CancellationToken cancellationToken, IProgress
1 progress)at MauiAppClient.ViewModels.SyncViewModel.ExecuteTestCustomActionCommand() in C:\Users\sojan.GEROC\Documents\Projects\Dotmim.Sync-master\Samples\MAUI\MauiAppClient\ViewModels\SyncViewModel.cs:line 174
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Android.App.SyncContext.<>c__DisplayClass2_0.b__0() in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:line 36
at Java.Lang.Thread.RunnableImplementor.Run() in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:line 36
at Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net6.0/android-31/mcw/Java.Lang.IRunnable.cs:line 84
at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V(_JniMarshal_PP_V callback, IntPtr jnienv, IntPtr klazz) in /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:line 22
Beta Was this translation helpful? Give feedback.
All reactions