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)

Error converting CRM 2013 database to 2015

(0) ShareShare
ReportReport
Posted on by 295

Hi,

On converting a CRM DB I get this error in the log:

10:23:51|   Info| CrmAction execution time; UpgradeDatabaseAction; 00:03:11.8572933

10:23:51|  Error| Installer Complete: OrganizationUpgrader - Error encountered

10:23:51|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction

InnerException:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 05b715f6-2aad-4f9c-b3e6-0fde6fa10708 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, Int32 languageCode)

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

   at Microsoft.Crm.Caching.SolutionDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

   at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.FindSharedPublisherIfNeeded(Guid componentId, Int32 componentType, ExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupInvalidSolutionReferences(ExecutionContext context, String tableName, String columnName, Int32 componentType)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupNonExistingSolutionReferences(SqlExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.Cleanup()

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)

   at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

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

InnerException:

Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 05b715f6-2aad-4f9c-b3e6-0fde6fa10708 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, Int32 languageCode)

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

   at Microsoft.Crm.Caching.SolutionDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

   at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.FindSharedPublisherIfNeeded(Guid componentId, Int32 componentType, ExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupInvalidSolutionReferences(ExecutionContext context, String tableName, String columnName, Int32 componentType)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupNonExistingSolutionReferences(SqlExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.Cleanup()

 

10:23:51|   Info| Setting organization state.  New state = Failed

10:23:51|  Error| Upgrade Organization with Id=61d09d11-0e55-e411-93f7-00155d470a4f failed with Exception:

System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: solution With Id = 05b715f6-2aad-4f9c-b3e6-0fde6fa10708 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, Int32 languageCode)

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

   at Microsoft.Crm.Caching.SolutionDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

   at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.FindSharedPublisherIfNeeded(Guid componentId, Int32 componentType, ExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupInvalidSolutionReferences(ExecutionContext context, String tableName, String columnName, Int32 componentType)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.CleanupNonExistingSolutionReferences(SqlExecutionContext context)

   at Microsoft.Crm.DataUpgrade.CleanupSolutionComponents.Cleanup()

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

   at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase)

   at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.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.UpgradeOrganizationInstaller.Upgrade(IUpgradeOrganizationInfo upgradeInfo)

10:23:51|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting

10:23:51|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 7.0.0000.3543.

*This post is locked for comments

I have the same question (0)
  • Victor Crespo Profile Picture
    on at

    Hello

    As it can be seen on the logs, there is a solution that does not longer exist in your database.

    Please review this, and if it is the case, add the missing solution so you can upgrade your database successfully.

    Thank you for using Microsoft Dynamics Communities

    Victor Crespo

    Support Engineer | CRM Online Support

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Please check for the solution components. It may not deleted properly from your system.

    Mansoor

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans