Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

update organization fails from crm 8.1 to 8.2

(1) ShareShare
ReportReport
Posted on by 215

i am getting below error while updating organization version . Can anyone help me on this ?

17:49:12|   Info| The entry for the base language 1033 has been updated in OrganizationLanguagePack to version 8.2.0002.0112
17:49:12|   Info| UpdateBaseLanguagePackVersion.Execute() completed.
17:49:12|Verbose| ProcessOOBRollupAndCalculatedAttributesInternal Enter
17:49:14|Verbose| ProcessOOBRollupAndCalculatedAttributesInternal Exit
17:49:15|Verbose| ProcessOOBRollupAndCalculatedAttributesInternal Success
17:49:16|   Info| CrmAction execution time; InstallDatabaseUpdatesAction; 00:13:45.9451254
17:49:16|  Error| Installer Complete: OrganizationDatabaseHotFixer - Error encountered
17:49:16|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction
InnerException:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.Metadata.EntityMetadata.set_IsBPFEntity(System.Nullable`1<Boolean>)'.
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateEntity(WorkflowStep workflowStep, String bpfEntityName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.PrepareBpfEntity(WorkflowStep workflowStep, String bpfEntityLogicalName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateBpfEntity(Boolean ignoreActivationState)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntityLayers(IBusinessEntity process, List`1 layers)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntities(IBusinessEntity process)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.Execute()
   --- 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, Nullable`1 operationType)
   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.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
  at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.Do(IDictionary parameters)
   at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
InnerException:
System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.Metadata.EntityMetadata.set_IsBPFEntity(System.Nullable`1<Boolean>)'.
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateEntity(WorkflowStep workflowStep, String bpfEntityName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.PrepareBpfEntity(WorkflowStep workflowStep, String bpfEntityLogicalName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateBpfEntity(Boolean ignoreActivationState)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntityLayers(IBusinessEntity process, List`1 layers)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntities(IBusinessEntity process)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.Execute()
 
17:49:16|   Info| Setting organization state.  New state = Failed
17:49:16|  Error| Update Organization with Id=b1ade3b7-e065-e111-be6d-000c29b368c6 failed with Exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.Metadata.EntityMetadata.set_IsBPFEntity(System.Nullable`1<Boolean>)'.
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateEntity(WorkflowStep workflowStep, String bpfEntityName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.PrepareBpfEntity(WorkflowStep workflowStep, String bpfEntityLogicalName)
   at Microsoft.Crm.Metadata.BusinessProcessFlowEntityBuilder.CreateBpfEntity(Boolean ignoreActivationState)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntityLayers(IBusinessEntity process, List`1 layers)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.CreateOrUpdateBPFEntities(IBusinessEntity process)
   at Microsoft.Crm.SE.DllMethodActions.CreateBPFEntities.Execute()
   --- 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, Nullable`1 operationType)
   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.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
   at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdates(Guid orgId, String orgUniqueName, OrganizationOperationType operationType)
   at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.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.OrganizationOperation.Execute()
   at Microsoft.Crm.Tools.Admin.OrganizationDatabaseHotFixer.Execute()
   at Microsoft.Crm.Tools.Admin.ApplyDatabaseHotFixInstaller.ApplyDatabaseHotFix(IApplyDatabaseHotFixInfo applyDatabaseHotFixInfo)
17:49:16|   Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting
17:49:16|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 8.2.0002.0112.

*This post is locked for comments

  • linu John Profile Picture
    linu John 215 on at
    RE: update organization fails from crm 8.1 to 8.2

    yes... Issue fixed . I  taken   Microsoft.xrm .sdk dll  from 365 /SDK /Bin folder  replaced in CRMWeb folder and GAC the same dll .  Then updated oragnization sucessfully .

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: update organization fails from crm 8.1 to 8.2

    Hello,

    Just curious - have you checked google? I found following thread - community.dynamics.com/.../225621

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans