Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 2 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming 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