Sync-navTenant Problem

jsinisajsinisa Member Posts: 27
Hi,
did anyone had the problem with Sync-navTenant related to Metadata.MultiLanguage. Here Log from EventViewer:

Type: System.ArgumentException
Message: An item with the same key has already been added.
StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.Dynamics.Nav.Types.Metadata.MultiLanguage.SplitMultiLanguageString(String textMultiLanguage)
at Microsoft.Dynamics.Nav.Runtime.NCLCaptionStrings.CreateNCLCaptionStrings(String captionML, String defaultValue)
at Microsoft.Dynamics.Nav.Runtime.NCLMetaField.CreateFromMetaField(NCLMetaTable parentTable, MetaField metaField, Boolean isPartOfPrimaryKey, Int32 index, Int32 sqlFieldIndex)
at Microsoft.Dynamics.Nav.Runtime.NCLMetaTable.AssignFromMetaTable(MetaTable metaTable, Boolean databaseConvertedFromNav2013)
at Microsoft.Dynamics.Nav.Runtime.NavSqlMetadata.GetTableMetadataFromTenant(NavDatabase tenantDatabase, Int32 tableId, NCLMetaTable& table, Boolean databaseConvertedFromNav2013)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDatabaseSync.GetTableChanges(Boolean sortingPropertiesChanged, Boolean databaseConvertedFromNav2013)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDatabaseSync.SynchronizeTenantDatabase(NavSession session, SyncMode syncMode)
at Microsoft.Dynamics.Nav.Runtime.NavTenant.Microsoft.Dynamics.Nav.Runtime.ITenantSessionHandler.RunTenantActionInSystemSession(Action`2 action, Boolean throwExceptions)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDatabaseSync.EnsureDatabaseInSync(SyncMode syncMode)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDatabaseSync.<>c__DisplayClass48.<StartSyncProcessIfNotAlreadyStarted>b__46()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDatabaseSync.StartSyncProcessIfNotAlreadyStarted(SyncMode syncMode)
at Microsoft.Dynamics.Nav.Runtime.NavTenantManagementTasks.SynchronizeTenantDatabase(String tenantId, SyncMode syncMode, Boolean async)
at SyncInvokeSynchronizeTenantDatabase(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: mscorlib
HResult

Comments

  • mo_xmo_x Member Posts: 50
    I have the same issue. Did you find a solution?
  • jsinisajsinisa Member Posts: 27
    mo_x wrote: »
    I have the same issue. Did you find a solution?

    no, we didn't. actually, we haven't had time to deal more with it and have just move the data into new database
Sign In or Register to comment.