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 升级完成后登录系统,发现服务与数据库的版本已一致,并打开报价单,错误解决。
附外国网友的互动供大家学习:
8.2.2.112 update - version mismatch with DB - is that normal?
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
8.2.2.112 update - version mismatch with DB - is that normal?
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
8.2.2.112 update - version mismatch with DB - is that normal?
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.
Dynamics 365 CRM On premise Unable to Load plug-in assembly的更多相关文章
- Dynamics 365 CRM 开发架构简介
Dynamics 365 CRM提供了多种编程模型,你可以灵活地按需选用最佳模式. 本文是对Dynamics 365 CRM编程模型的综述. 概览 下图表明了Dynamics 365 CRM的主要可编 ...
- Dynamics 365 CRM large instance copy
使用CRM 大家想必都做过copy. 从一个instance 复制到另外一个instance. 如果你是Dynamics 365 CRM 用户, 并且你的instance超过500GB,甚至1TB+的 ...
- Dynamics 365 CRM Free up storage 清理Dynamics 365 CRM的空间
Dynamics 365 CRM 的空间是要买的. 但是很多情况下用户可以去清理CRM从而达到给空间减重的方法 两大使用DB空间大的功能 1. Audit log 审计记录 审计记录是用来记录各个fi ...
- 创建一个dynamics 365 CRM online plugin (九) - Context.Depth
让我们来看看官方文档是怎么讲的 https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide ...
- Dynamics 365 CRM 部署 Connected Field Service
微软 Connected Field Service 是一个提供Azure IoT 和 Dynamics 365 连接的这样一个框架 有两种方式部署CFS, 一种是用IoT Hub PaaS, 一种是 ...
- 创建一个dynamics 365 CRM online plugin (十) - Isolation mode or trust mode
Isolation Mode 也被称作为Plugin Trust CRM里面有两种plugin trust / isolation mode 1. Full Trust 只在OP系统中可使用,没有限制 ...
- Dynamics 365 CRM Connected Field Service 自动发送command
上期降到了怎样部署connected field service(CFS) 我们假设现在IoT 设备是温度监控器, 当温度触发我们之前预设的温度值, IoT会通过IoT Hub 发送IoT Alert ...
- 创建一个dynamics 365 CRM online plugin (八) - 使用Shared Variables 在plugins 之前传递data
CRM 可以实现plugin之前的值传递. 我们可以使用SharedVariables 把值在plugin之间传递 实现plugins之间的传递非常简单,我们只需要用key value pair来配对 ...
- 创建一个dynamics 365 CRM online plugin (七) - plugin当中的Impersonation角色
我们之前创建的plugin都是使用default的 run in User's Context. 理解就是使用正在登陆的security context用户信息 那有个问题,如果当前用户的securi ...
随机推荐
- µDoo持有者将分享我们广告总收入的10%,并以BTC支付!
Jason8th October 2019 在数字化世界中,去中心化将是未来,Howdoo的社交媒体和内容交付理念为在新经济中使用的核心用户提供了公平.透明的奖励回报.随着Howdoo上的内容创作者有 ...
- git clone下载速度很慢的解决方法
一直用git clone从github上下载源码学习,但是有时候git clone速度好慢,只有几Kb的速度,按这个速度下载安卓源码的话估计要下一年. 然后我再网上找各种教程,试过通过vps下载git ...
- 记一次开发CefSharp做浏览器时Shopify绑定不上Paypal问题
问题:CefSharp做浏览器时Shopify绑定不上Paypal. shopify绑定Paypal的流程大概是如下图所示 步骤1 步骤2 步骤3 步骤4 出现问题大概是在绑定最后一步,并没有如愿的返 ...
- 错题重错之枪战Maf
题目描述 有 n 个人,用1∼n 进行编号,每个人手里有一把手枪.一开始所有人都选定一个人瞄准(有可能瞄准自己).然后他们按某个顺序开枪,且任意时刻只有一个人开枪.因此,对于不同的开枪顺序,最后死的人 ...
- 一小时完成后台开发:DjangoRestFramework开发实践
DjangoRestFramework开发实践 在这之前我写过一篇关于Django与Drf快速开发实践的博客,Django快速开发实践:Drf框架和xadmin配置指北,粗略说了一下Drf配置和基本使 ...
- Maven 专题(八):配置(一)常用修改配置
修改配置文件 通常我们需要修改解压目录下conf/settings.xml文件,这样可以更好的适合我们的使用. 此处注意:所有的修改一定要在注释标签外面,不然修改无效.Maven很多标签都是给的例子, ...
- 从连接器组件看Tomcat的线程模型——BIO模式
在高版本的Tomcat中,默认的模式都是使用NIO模式,在Tomcat 9中,BIO模式的实现Http11Protocol甚至都已经被删除了.但是了解BIO的工作机制以及其优缺点对学习其他模式有有帮助 ...
- 【Nginx】如何格式化日志并推送到远程服务器?看完原来很简单!!
写在前面 Nginx作为最常用的反向代理和负载均衡服务器,被广泛的应用在众多互联网项目的前置服务中,很多互联网项目直接将Nginx服务器作为整个项目的流量入口.这就使得我们可以通过对Nginx服务器日 ...
- 「美团面试系列」面试加分项,这样说你会JVM,面试官还能问什么
Java性能调优都是老生常谈的问题,特别当“糙快猛”的开发模式大行其道时,随着系统访问量的增加.代码的臃肿,各种性能问题便会层出不穷. 比如,下面这些典型的性能问题,你肯定或多或少都遇到过: 在进行性 ...
- 谷歌浏览器又隐藏的HTTPS和WWW前缀
谷歌工程师 Emily Schechter 曾在 Chromium 反馈页面中提到:Chrome 团队一直将简易性.可用性.安全性作为衡量 UI 的标准.为了让 URL 能更好地被用户理解.移除那些容 ...