gpt4 book ai didi

c# - Dynamics CRM 2015 - 找不到插件类型

转载 作者:行者123 更新时间:2023-11-30 17:42:49 25 4
gpt4 key购买 nike

我有一个非常相似的问题:

Dynamics CRM 2011 - The plug-in type could not be found

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.ArgumentNullException: Value cannot be null.
Parameter name: The plug-in type could not be found in the plug-in assembly: Enlighten.CRM.Customisations.Job.CreateJobDetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>CallStack</d2p1:key>
<d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"> at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IServiceEndpointNotificationService serviceBusService, IOrganizationServiceFactory organizationServiceFactory, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IServiceEndpointNotificationService serviceBusService, IOrganizationServiceFactory organizationServiceFactory, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext)
at Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter&amp; workerCounter)</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>System.ArgumentNullException: Value cannot be null.
Parameter name: The plug-in type could not be found in the plug-in assembly: Enlighten.CRM.Customisations.Job.CreateJob</Message>
<Timestamp>2015-07-23T23:32:27.2903692Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Enlighten.CRM.Customisations.Job.Deploy: Enlighten.CRM.Customisations.Job.CreateJob]
[d2c5efd5-452b-e511-80c4-00155d00461a: Opportunity Create]


</TraceText>
</OrganizationServiceFault>

这是我在 CRM 2011 中使用的现有插件。主要区别是我使用 nuget 包将 SDK 更新为针对 7.0.0.1。

https://www.nuget.org/packages/Microsoft.CrmSdk.Extensions/7.0.0.1

上一个问题表明这是版本差异,但据我所知,我的部署是一个更新的版本(如下面的部署管理器所示),因此 SDK 版本应该不是问题。

Organisation version

有什么想法吗?

最佳答案

我建议您使用您的 CRM 版本的相应 SDK 中提供的程序集。

如果您将插件部署到 CRM 2011 环境,您仍应使用 2011 SDK 中提供的程序集。 (即版本 5...*)

关于c# - Dynamics CRM 2015 - 找不到插件类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31599961/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com