Replies: 2 comments 1 reply
-
Need a sample to help you, I guess. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have a popup that I display anytime a Sync is requested, this element is what calls the sync. When I call the sync from this element is when i get the error. If I call the sync from the MauiProgram.cs startup it works exactly as expected. What sample would help you the best? Thank you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently encountered an issue with the dispatcher using the Send method instead of Post and Dotmim breaks (for understandable reasons) when using ASPCore middle layer. Any one else experienced this, and how did you get around it?
Dotmim.Sync.SyncException:
The send method is not supported, use Post instead.---> System.NotSupportedException: The send method is not supported, use Post instead.
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Dotmim.Sync.SynchronousProgress
1.OnReport(T value) at Dotmim.Sync.SynchronousProgress
1.System.IProgress.Report(T value)at Dotmim.Sync.BaseOrchestrator.ReportProgress(SyncContext context, IProgress
1 progress, ProgressArgs args, DbConnection connection, DbTransaction transaction) at Dotmim.Sync.BaseOrchestrator.InterceptAsync[T](T args, IProgress
1 progress, CancellationToken cancellationToken)at Dotmim.Sync.LocalOrchestrator.InternalBeginSessionAsync(SyncContext context, CancellationToken cancellationToken, IProgress
1 progress) at Dotmim.Sync.SyncAgent.SynchronizeAsync(String scopeName, SyncSetup setup, SyncType syncType, SyncParameters parameters, CancellationToken cancellationToken, IProgress
1 progress)--- End of inner exception stack trace ---
at Dotmim.Sync.SyncAgent.SynchronizeAsync(String scopeName, SyncSetup setup, SyncType syncType, SyncParameters parameters, CancellationToken cancellationToken, IProgress
1 progress) at Dotmim.Sync.SyncAgent.SynchronizeAsync(String scopeName, SyncSetup setup, SyncType syncType, SyncParameters parameters, CancellationToken cancellationToken, IProgress
1 progress)at
THSDashBoardMobile.DashboardDB.Syncdb()
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions