Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I'm getting an exception importing a CRM 2011 (UR17) organisation database into CRM 2013
19:53:41| Error| System.Exception: Action Microsoft.Crm.Tools.Admin.PopulateDependenciesAction failed. ---> Microsoft.Crm.CrmException: Error generating UiData ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadEvaluateCondition(EvaluateCondition activity) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadExpression(Collection`1 activities, Type endActivityType, Boolean customActivity, Int32& activityIndex) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadBranchStep(StepBase parentStep, Collection`1 sequenceActivities, Int32& activityIndex) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadConditionStep(Boolean wait, ConditionSequence sequence) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.AddChildSteps(CompositeStepBase compositeStep, Composite sequence) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadStageStep(String stageName, Composite sequence) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity) at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData() --- End of inner exception stack trace --- at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData() at Microsoft.Crm.ObjectModel.WorkflowDependencyVisitor.Visit(BusinessEntity workflow) at Microsoft.Crm.ObjectModel.WorkflowDependencyCalculator.DetermineRequiredDependencies(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.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) --- End of inner exception stack trace ---, Error, RetryCancel, Option1
Before taking the backup of the CRM database did you clean all your system Jobs like suspended workflows , making sure all the records with deletion state is cleared.
It looks like you have some suspended system Job in your 2011 crm that needs to be cancelled and also make sure you clean up all your system job that will make import to go faster.
Go to Settings > System Job > Type : "Workflows" and View : "Suspended System Job" > Delete the items with the previous incomplete workflows. Done
After the failed import I ran the import process again - to success.
I'd like to know what is going on here as we have to upgrade two more similar rigs and don't know if the failed import process left some records / components corrupted.
I have checked and we do have suspended system jobs. We would prefer not to delete these on the other rigs as they are important for the business.
How did you know we have suspended system jobs? I didn't provide any info about this before. Can the upgrade process not handle them? Has this error been seen before?
I have seen this issue when i did up-gradation for one of my client. CRM upgrade handles suspended system jobs but if you have huge amount of system jobs with this status it takes long time as well sometime it makes upgradation to fail.
Business Applications communities