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)

CRM 2011 to 2013 Upgrade Failing with Missing SDKMessageProcessingStep

(0) ShareShare
ReportReport
Posted on by

I'm running into an issue with a test upgrade of our production CRM on premise organization. It's running Rollup 18 for CRM 2011 and I've tried upgrading to multiple versions of 2013 (RTM, RU2, SP1, SP1RU4) as part of a project to get to 2016. I've run multiple other Dev orgs through the same system/process I'm using without issue so this issue seems specific to this org, not the environment.

The upgrade runs for about a half hour and then fails on an exception:
"Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: sdkmessageprocessingstep With Id = 8e443719-f0c3-de11-9993-005056832bae Does Not Exist"

I'm unable to find the objectid in the database where I would expect it. I was able to find reference to it in the DependencyNodeBase. We have not deleted anything prior to the upgrade to suspect something is missing/broken. From a SQL profiler trace I can see that the upgrade itself completes an action for "delete from [DependencyBase]" that I'm suspecting something in the upgrade is causing this issue. I'm a step away from opening a case with MS but thought I would try here first.  I haven't found much online, some similar issues that sound specific to SP1 but not with sdkmessageprocessingstep.

Any ideas or suggestions are greatly appreciated. I will post back with the latest crmdmsnapin log.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Here is an except of the log from where it's failing.

    15:16:15|   Info| CrmAction execution time; SetupOutOfBoxImportMaps; 00:00:15.7343665

    15:16:15|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.SetIsManaged

    15:16:15|   Info| CrmAction execution time; SetIsManaged; 00:00:00

    15:16:15|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.SetFiscalSettingsAction

    15:16:16|   Info| CrmAction execution time; SetFiscalSettingsAction; 00:00:01.1250072

    15:16:16|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.PopulateDefaultDataForMultiEntitySearch

    15:16:23|   Info| CrmAction execution time; PopulateDefaultDataForMultiEntitySearch; 00:00:06.2031647

    15:16:23|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.BulkDeleteSyncWorkflowProcessSessionsSetupAction

    15:16:23|   Info| CrmAction execution time; BulkDeleteSyncWorkflowProcessSessionsSetupAction; 00:00:00.0781255

    15:16:23|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.PublishResourceGroupsAction

    15:21:44|   Info| CrmAction execution time; PublishResourceGroupsAction; 00:05:21.2511344

    15:21:44|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.PopulateSolutionComponentAction

    15:22:09|   Info| CrmAction execution time; PopulateSolutionComponentAction; 00:00:25.3126470

    15:22:09|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.PopulateDependencyNodesAction

    15:24:12|   Info| CrmAction execution time; PopulateDependencyNodesAction; 00:02:03.1400417

    15:24:12|   Info| Executing Install action: Microsoft.Crm.Tools.Admin.PopulateDependenciesAction

    15:27:28|  Error| System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: sdkmessageprocessingstep With Id = 8e443719-f0c3-de11-9993-005056832bae Does Not Exist

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageDependencyCalculator.RetrieveAsSystemUser(BusinessProcessObject service, BusinessEntityMoniker moniker, EntityExpression expression, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageDependencyCalculator.DetermineSolutionInternalDependencies(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.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

    15:29:05|   Info| InputResult: Cancel

    15:29:05|   Info| CrmAction execution time; PopulateDependenciesAction; 00:04:52.9056632

    15:29:05|  Error| Installer Complete: OrganizationUpgrader - Error encountered

    15:29:05|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction

    InnerException:

    Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: sdkmessageprocessingstep With Id = 8e443719-f0c3-de11-9993-005056832bae Does Not Exist

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)

      at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageDependencyCalculator.RetrieveAsSystemUser(BusinessProcessObject service, BusinessEntityMoniker moniker, EntityExpression expression, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SdkMessageProcessingStepImageDependencyCalculator.DetermineSolutionInternalDependencies(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.Tools.Admin.PopulateDependenciesAction.Do(IDictionary parameters)

      at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

    15:29:05|   Info| Setting organization state.  New state = Failed

  • Community Member Profile Picture
    on at

    Did someone find an answer? 

    Receiving the below: 

    ==================

    11:51:02| Error| System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.PopulateDependenciesAction ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: entitymap With Id = 913193fa-0d4c-e111-a664-0050568e73bf Does Not Exist
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.AttributeMapDependencyCalculator.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.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    --- End of inner exception stack trace ---, Error, RetryCancel, Option1

  • bac26 Profile Picture
    2,268 on at

    THe keyline is - Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: entitymap With Id = 913193fa-0d4c-e111-a664-0050568e73bf Does Not Exist  

    Need to find what correlates to this ID  With Id = 913193fa-0d4c-e111-a664-0050568e73bf Does Not Exist.    

    Do you have somewhere you can clone the system for a identical sandbox?  

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)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans