You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a process where if a database does not exist locally I perform a sync from the server to create the 'template'. It does create it but it looks like the scope info is referring to some old column names. The schema has changed and these are no longer in the database.
I get the following error:.
Invalid column name 'G_Score'.
Invalid column name 'G_Remarks'.
I would have thought deprovisioning and reprovisioning the scope tables would have got round this?
Interestingly if I add the columns to the server side database the sync works and equally these columns do not end up in the local database (which is fine). So it's somewhere on the server scope hanging on but I do not know where?
I have a process where if a database does not exist locally I perform a sync from the server to create the 'template'. It does create it but it looks like the scope info is referring to some old column names. The schema has changed and these are no longer in the database.
I get the following error:.
Invalid column name 'G_Score'.
Invalid column name 'G_Remarks'.
at Dotmim.Sync.RemoteOrchestrator.InternalApplyThenGetChangesAsync(ScopeInfoClient cScopeInfoClient, ScopeInfo cScopeInfo, SyncContext context, ClientSyncChanges clientChanges, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress) at Dotmim.Sync.Web.Server.WebServerAgent.ApplyThenGetChangesAsync2(HttpContext httpContext, HttpMessageSendChangesRequest httpMessage, SessionCache sessionCache, Int32 clientBatchSize, CancellationToken cancellationToken, IProgress
1 progress)at Dotmim.Sync.Web.Server.WebServerAgent.HandleRequestAsync(HttpContext httpContext, Action
1 action, CancellationToken cancellationToken, IProgress
1 progress)INNER EXCEPTION
Invalid column name 'G_Score'.
Invalid column name 'G_Remarks'.
at Microsoft.Data.SqlClient.SqlCommand.<>c.b__203_0(Task
1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask
2.InnerInvoke()at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Dotmim.Sync.BaseOrchestrator.InternalReadSyncTableChangesAsync(ScopeInfo scopeInfo, SyncContext context, Nullable
1 excludintScopeId, SyncTable syncTable, BatchInfo batchInfo, Boolean isNew, Nullable
1 lastTimestamp, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress1 progress) at Dotmim.Sync.BaseOrchestrator.InternalGetChangesAsync(ScopeInfo scopeInfo, SyncContext context, Boolean isNew, Nullable
1 fromLastTimestamp, Nullable1 toNewTimestamp, Nullable
1 excludingScopeId, Boolean supportsMultiActiveResultSets, String batchRootDirectory, String batchDirectoryName, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress1 progress) at Dotmim.Sync.RemoteOrchestrator.InternalApplyThenGetChangesAsync(ScopeInfoClient cScopeInfoClient, ScopeInfo cScopeInfo, SyncContext context, ClientSyncChanges clientChanges, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress)at Dotmim.Sync.RemoteOrchestrator.InternalApplyThenGetChangesAsync(ScopeInfoClient cScopeInfoClient, ScopeInfo cScopeInfo, SyncContext context, ClientSyncChanges clientChanges, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress) at Dotmim.Sync.RemoteOrchestrator.InternalApplyThenGetChangesAsync(ScopeInfoClient cScopeInfoClient, ScopeInfo cScopeInfo, SyncContext context, ClientSyncChanges clientChanges, DbConnection connection, DbTransaction transaction, CancellationToken cancellationToken, IProgress
1 progress)Here is my code, it is hitting the exeption when calling the line synchronizeasync with reinitialize.
The text was updated successfully, but these errors were encountered: