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
HI,
Please add me on skype : Mahesh.variance
We will discuss in detail if possible from your side.
Thanks
Mahesh
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156