web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error Upgrade Server CRM 2011 to 2013

(0) ShareShare
ReportReport
Posted on by 72

Hi all,

i try to Update an Organisation from CRM 2011 to CRM 2013 and get this Error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.Crm.Caching.SystemLabelDictionaryCacheLoader.BuildLabelDictionary(MetadataBusinessEntityCollection labels)
at Microsoft.Crm.Caching.LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)
at Microsoft.Crm.Caching.SystemIntermediateLabelDictionaryCacheLoader.LoadCacheData(SystemLabelDictionaryCacheKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Metadata.LabelCache.TryLookupEntry(Int32 languageCode, Guid objectId, String objectColumnName, IOrganizationContext context)
at Microsoft.Crm.ObjectModel.LabelLoaderPublished.LoadLabel(Int32 userLanguageCode, Guid objectId, String objectColumnName, ExecutionContext context)
at Microsoft.Crm.ObjectModel.FormLabelHelper.InsertAllLabels(Int32 entityType, ILabelLoader labelLoader, XmlDocument formDoc, XmlNode labelsNode, Int32 userLanguageCode, ExecutionContext context)
at Microsoft.Crm.ObjectModel.FormLabelHelper.InsertFormLabelsCommon(IBusinessEntity entity, ILabelLoader labelLoader, Boolean asLastManagedForm, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SystemFormService.RetrieveMultiple(EntityExpression entityExpression, Boolean includeLabels, ExecutionContext context)
at Microsoft.Crm.Dependency.DependencyCalculatorFactory.GetEntityInternal(Guid id, EntityMetadata metadata, Boolean retrieveUnpublished, String[] columns, ExecutionContext context)
at Microsoft.Crm.Dependency.DependencyCalculatorFactory.GetEntity(Int32 componentType, Guid id, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.IsDependencyCalculatedFromOtherSide(Guid dependencyNodeId, BusinessEntity dependency, Dictionary`2 computedDependencies, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.UpdateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.UpdateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.BusinessEntities.ExecutionContext.ProcessDependencies(FlushCacheOption option, CreateNewCollectorOption createOption)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnEndRequest()
at Microsoft.Crm.Setup.DiffBuilder.UpdateMetadata(String targetVersion)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors)

And this rrror in the event LOG:

Invalid column name 'IsMailboxInactiveBackOffEnabled'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
at Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace)
at Microsoft.Crm.ObjectModel.MailboxUtil.RetrieveServerSideSyncOrgSettingsFromDB(Guid organizationId)
at Microsoft.Crm.Asynchronous.OrgServerSideSyncSettings.OrgDataAccess.<>c__DisplayClass11.<RetrieveOrgSettingsLightFromDB>b__10(IServiceOperation serviceOperation)
at Microsoft.Crm.Asynchronous.Operations.OrganizationOperation.<get_EventAction>b__0(IServiceOperation operation)

CRM Server 2013 CU 5

Thanks

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans