CRM 2011 - 导入解决方案出现错误无法加载插件程序集

发布于 2024-11-02 22:34:41 字数 414 浏览 3 评论 0原文

这是我的故事:我已将 CRM 4 解决方案导入到 CRM 2011。大多数情况看起来都不错,插件大部分都可以工作。此导入过程是通过 CRM 部署管理器完成的。

步骤 2 我想测试构建一个解决方案,向其中添加所有自定义设置,将其导出,然后将其导入到同一服务器上的第二个组织。

它已经相当接近了(它比 CRM 4 有了巨大的改进)。但是当它加载我的插件程序集时它失败了。 CRM 跟踪和事件日志没有为我提供比解决方案导入日志文件更多的帮助:

失败0x80044191无法加载 插件组装。

我的程序集已部署到磁盘,因此可用。我尝试解压缩解决方案文件,并将程序集添加到解决方案层次结构中,但这没有帮助。

是因为它们是 CRM 4 插件吗?它们必须更新才能导入到 CRM 5 中吗?

Here's my story: I've imported my CRM 4 solution to CRM 2011. Most things look OK, plug-ins mostly work. This import process was done through the CRM Deployment Manager.

Step 2 I wanted to test building a Solution, adding all my customizations to it, export it, and import it to a second organization on the same server.

Its gotten fairly close (its a HUGE improvement over CRM 4). But its failing when it goes to load my plug-in assembly. The CRM Trace and event log aren't providing me any more help than the solution import log file:

Failure 0x80044191 Unable to load
plug-in assembly.

My assembly is deployed to disk so its available. I tried unzipping the solution file, and adding my assembly in the solution hierarchy but that didn't help.

Is it because they're CRM 4 plug-ins? Must they be updated to be imported in CRM 5?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

初心 2024-11-09 22:34:41

最终我引用了一个不在新服务器的 GAC 中的程序集。与每个解决方案无关,我也无法直接使用插件注册工具注册(尽管这给了我更多信息)。因此,如果您看到此内容,我建议尝试使用插件注册工具来注册程序集以获得更好的信息。

Ended up being I was referencing an assembly not in the GAC of the new server. Wasn't related to solutions per-say and I couldn't register directly with the plugin registration tool either (though that gave me more information). So if you see this I recommend trying to register the assembly using the plugin registration tool to get better information.

狠疯拽 2024-11-09 22:34:41

您应该能够注册您的旧插件;不需要升级插件。您是否尝试过将插件注册到数据库而不是磁盘?您可以在您的 4.0 环境中注册此插件吗?

请参阅将插件和自定义工作流活动升级到 Microsoft Dynamics CRM 2011如果您决定尝试的话,可以了解有关升级的更多信息。

You should be able to register your old plugins; upgrading plugins isn't required. Have you tried registering the plugin to database instead of disk? Are you able to register this plugin against your 4.0 environment?

See Upgrade Plug-ins and Custom Workflow Activities to Microsoft Dynamics CRM 2011 for more info about upgrading if you decide to try that.

无所的.畏惧 2024-11-09 22:34:41

实际上,当您尝试在 MS CRM2011 的新组织中导入解决方案时,它会抛出异常,因为 MS CRM4.0 插件正在使用 GAC 中不存在的库“microsoft.crm.sdk.dll”。以下是在 MS CRM2011 中注册 MS CRM4 插件的解决方法 http://social.microsoft.com/Forums/en/crmdevelopment/thread/d3ce2b89-e8d3-4334-9117-fda2193e03a8

Actually when you try to import your solution in new organization of MS CRM2011 it is throwing exception because MS CRM4.0 plug-ins are using a library "microsoft.crm.sdk.dll" which does not exist in the GAC. Here is a workaround for the registration of MS CRM4 Plug-ins in MS CRM2011 http://social.microsoft.com/Forums/en/crmdevelopment/thread/d3ce2b89-e8d3-4334-9117-fda2193e03a8

小…红帽 2024-11-09 22:34:41

您的插件程序集是否有任何依赖项(除了明显的 microsoft.crm.* 之外)?如果是这样,请尝试将所有内容合并到一个大 DLL 中并将其部署到数据库。

Does your plugin assembly have any dependencies (except the obvious microsoft.crm.*)? If so, try to ILMerge everything into one big DLL and deploy it to the database.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文