动态

详情 返回 返回

Dynamics 365 CRM On premise Unable to Load plug-in assembly - 动态 详情

背景介紹:

本地部署Microsoft Dynamics CRM 9.0正常可用,後打補丁到9.0.16.7,打開系統quote報 “ Unable to Load plug-in assembly” 錯誤(打商機opportunity窗體時也會報“Assembly content(Microsoft.Dynamics.Sales.Plugins, Version=9.0.1.0) does not match the expected assembly identity (Microsoft.Dynamics.Sales.Plugins, Version=9.0.0.0)”錯誤)。

  

圖1-1 打開報價單報unable to load plug-in assembly錯誤

 

 

 

 圖1-2 點擊打開商機報不同版本的錯誤

 

解決步驟:

1、在bing以“unable to load plug-in assembly”關鍵搜索,發現補丁9.0.14.12有關於workflow和plug-ins的問題:

  • Workflow or Plug-ins were not triggered on the creation of a Document Location record.
  • Creation of an opportunity or associate a web role to an entity permission would result in the following error message, “Assembly content(Microsoft.Dynamics.Sales.Plugins, Version=9.0.1.0) does not match the expected assembly identity (Microsoft.Dynamics.Sales.Plugins, Version=9.0.0.0)”

      具體可看14補丁內容 https://support.microsoft.com/en-us/help/4538593

2、通過步驟1 發現如果是補丁打到9.0.14.12應該是可以解決問題的,但打開server manager發現組織的version一直是9.0.9.4,如下圖

 

 

圖2-1 原來組織圖沒有截,這裏version 的情況大家可以看看

 圖2-2 在CRM中查看版本也發現CRM服務版本與數據庫版本不致 

 

3、在bing中搜索“Dynamics CRM version mismatch with DB”,大家可找到如下文章介紹 https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/278383/8-2-2-112-update---version-mismatch-with-db---is-that-normal,發現如果CRM服務的版本與數據的版本不致這種現像是不正常的,因為系統在打補丁的時候,當有多個組織時,系統不會自動更新組織的版本,這個時候需要我們手動點擊一下右側的更新(Update)按鈕,手動更新組織的版本(當組織只有一個的時候,是否自動更新組織的版本尚未測試)。根據以上文章提示,我新建一個組織的時候,發現組織版本與服務是一致的,並且登錄系統發現沒有報錯,於是馬上手動更新目標組織的版本,更新後再登錄系統,發錯報錯解決。

 

 圖 3-1 打完補丁後CRM服務版本

圖 3-2 新建一個salesdev組織後,組織的版本與服務的版本是一致的

 圖 3-3 手動升級目標組織 

圖 3-4 升級完成後登錄系統,發現服務與數據庫的版本已一致,並打開報價單,錯誤解決。

附外國網友的互動供大家學習:

Shannon Davis asked a question on 24 Apr 2018 1:00 PM
 

8.2.2.112 update - version mismatch with DB - is that normal?

Verified

Hello all, we recently updated our 8.2 on-premises CRM to 8.2.2 (the latest released update from October).

Since doing so, NOTHING is working.  Views don't work, ribbons disappear, links don't work, basically the whole system is unusable. 

I did observe however that the database version was different from the server version.  Is that normal?  There was no update file for the database. 

Version 1612 (8.2.2.112) (DB 8.2.0.749) on-premises

 

Alex Shlega responded on 24 Apr 2018 2:10 PM@ashlega 

8.2.2.112 update - version mismatch with DB - is that normal?

Unanswered

Hi,

 for what it's worth, when a new organization is created for 8.2.2.112, it gets 8.2.2.112 DB version.. Are you offered "Upgrade Organization" option when looking at that organization in the deployment manager?

technet.microsoft.com/.../dn920271.aspx

 
Aric Levin responded on 24 Apr 2018 6:30 PM 

8.2.2.112 update - version mismatch with DB - is that normal?

Verified 

Hi Shannon,

I have seen in Online mismatches between the CRM Version and the database version.

Online the best course of action is to contact MS Support and request them to fix it.

Since this issue you are encountering is On-Premise, it is likely that your CRM Server got updated, and the Server has multiple organizations, but not all organizations did get updated. If that is the case, go to deployment manager (as Alex suggested above), and upgrade each of the organizations.

If you are unable to do that, or if you do not get an option to upgrade a particular organization, I would contact MS Support for help with this issue.

Hope this helps.

Add a new 评论

Some HTML is okay.