Replies: 2 comments 10 replies
-
Can you share your code ? especially the configuration of your sync, with tables and columns (if any are specified) ? |
Beta Was this translation helpful? Give feedback.
-
I removed shapshot option, but nothing. Here is the schema of one of these table: CREATE NONCLUSTERED INDEX [IX_DatiStorico] ON [dbo].[DatiStorico] CREATE NONCLUSTERED INDEX [IX_CodArt] ON [dbo].[DatiStorico] CREATE NONCLUSTERED INDEX [IX_CodCli] ON [dbo].[DatiStorico] |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use the sample Xamaring.Forms project to sync between my remote db on SQL and an Android emulator.
The first synchronization is successful and 45k records are updated. However, if I change any value of one of the synchronized tables, and resynchronize, I get the following exception:
Column is null
at Dotmim.Sync.BaseOrchestrator.RaiseError(Exception exception) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\BaseOrchestrator.cs:line 250
at Dotmim.Sync.RemoteOrchestrator.ApplyThenGetChangesAsync(ScopeInfo clientScope, BatchInfo clientBatchInfo, CancellationToken cancellationToken, IProgress
1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\RemoteOrchestrator.cs:line 278 at Dotmim.Sync.RemoteOrchestrator.ApplyThenGetChangesAsync(ScopeInfo clientScope, BatchInfo clientBatchInfo, CancellationToken cancellationToken, IProgress
1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\RemoteOrchestrator.cs:line 283at Dotmim.Sync.Web.Server.WebServerOrchestrator.ApplyThenGetChangesAsync2(HttpContext httpContext, HttpMessageSendChangesRequest httpMessage, SessionCache sessionCache, Int32 clientBatchSize, CancellationToken cancellationToken, IProgress
1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Web.Server\WebServerOrchestrator.cs:line 735 at Dotmim.Sync.Web.Server.WebServerOrchestrator.HandleRequestAsync(HttpContext httpContext, Action
1 action, CancellationToken cancellationToken, IProgress`1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Web.Server\WebServerOrchestrator.cs:line 174INNER EXCEPTION
Column is null
at Dotmim.Sync.SyncRow.set_Item(String columnName, Object value) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Set\SyncRow.cs:line 115
at Dotmim.Sync.BaseOrchestrator.CreateSyncRowFromReader(IDataReader dataReader, SyncTable table) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\BaseOrchestrator.GetChanges.cs:line 416
at Dotmim.Sync.BaseOrchestrator.InternalGetChangesAsync(SyncContext context, MessageGetChangesBatch message, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\BaseOrchestrator.GetChanges.cs:line 113 at Dotmim.Sync.RemoteOrchestrator.ApplyThenGetChangesAsync(ScopeInfo clientScope, BatchInfo clientBatchInfo, CancellationToken cancellationToken, IProgress
1 progress) in D:\Progetti\Vari\Dotmim.Sync-master\Dotmim.Sync-master\Projects\Dotmim.Sync.Core\Orchestrators\RemoteOrchestrator.cs:line 243Beta Was this translation helpful? Give feedback.
All reactions