Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Unable to import CRM 2013 organization in CRM 2015

Posted on by 25

Hello Team,

As a part of our CRM upgrade project, we created an instance of CRM 2015. I am now trying to creating a new organization with our 2013 instance , by using the import organization feature of the deployment manager.

The process runs, and almost reaches 100% and then fails with the below error.

10:27:57| Info| Executing Install action: Microsoft.Crm.Tools.Admin.PopulateDependenciesAction
10:34:00| Error| System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1
11:50:53| Info| InputResult: Cancel
11:50:53| Info| CrmAction execution time; PopulateDependenciesAction; 01:22:55.7399886
11:50:53| Error| Installer Complete: OrganizationUpgrader - Error encountered
11:50:53| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction
InnerException:
Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
System.ArgumentException: Expected non-empty string.
Parameter name: attributeName

11:50:53| Info| Setting organization state. New state = Failed
11:50:53| Error| Upgrade Organization with Id=ca7096c9-7f99-e511-80c3-00155dff0112 failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
11:50:53| Error| An error occurred when trying import and upgrade organization database DEV-SQL01\DEV_CRM2014.CRM_MSCRM_2015:
Microsoft.Crm.CrmException: Upgrade Organization with Id=ca7096c9-7f99-e511-80c3-00155dff0112 failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
11:50:53| Error| Import Organization (Name=CRM-DSO, Id=ca7096c9-7f99-e511-80c3-00155dff0112) failed with Exception:
Microsoft.Crm.CrmException: Upgrade Organization with Id=ca7096c9-7f99-e511-80c3-00155dff0112 failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.CrmArgumentException: Expected non-empty string. ---> System.ArgumentException: Expected non-empty string.
Parameter name: attributeName
--- End of inner exception stack trace ---
at Microsoft.Crm.Exceptions.ThrowIfEmpty(String value, String parameterName)
at Microsoft.Crm.Metadata.EntityMetadata.TryGetAttribute(String attributeName, NameMappingType mapping)
at Microsoft.Crm.ObjectModel.FormAttributeDependencyCalculator.GetAttributeId(Guid entityId, String attrSchemaName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.SetTimerControlAttributeDependency(Guid entityId, String attributeLogicalName, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.TimerControlDependencyCalculator.GetDependentComponentInfo(String formXml, DependencyTypes type, ExecutionContext context, Guid entityId)
at Microsoft.Crm.ObjectModel.SystemFormDependencyCalculator.SetFormDependencies(BusinessEntity entity, DependencyTypes type, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyHelperBase.CreateDependencies(ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.CreateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context)
at Microsoft.Crm.Dependency.ComponentCollector.ProcessRecords(ExecutionContext context)
at Microsoft.Crm.ObjectModel.DependencyService.CreateAllDependencies(ExecutionContext context)
at Microsoft.Crm.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)
11:50:53| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
11:50:53| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 7.0.0000.3543.

Any assistance on resolving the same would be highly appreciated.

Regards,

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to import CRM 2013 organization in CRM 2015

    HI,

    Please add me on skype : Mahesh.variance

    We will discuss in detail if possible from your side.

    Thanks

    Mahesh

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans