c# - Dynamics CRM 2015 - The plug-in type could not be found -
i'm having similar problem to:
dynamics crm 2011 - plug-in type not 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 null. parameter name: plug-in type not found in 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"> @ microsoft.crm.sandbox.sandboxappdomainhelper.execute(iserviceendpointnotificationservice servicebusservice, iorganizationservicefactory organizationservicefactory, string plugintypename, string pluginconfiguration, string pluginsecureconfig, ipluginexecutioncontext requestcontext) @ microsoft.crm.sandbox.sandboxappdomainhelper.execute(iserviceendpointnotificationservice servicebusservice, iorganizationservicefactory organizationservicefactory, string plugintypename, string pluginconfiguration, string pluginsecureconfig, ipluginexecutioncontext requestcontext) @ microsoft.crm.sandbox.sandboxworker.execute(sandboxcallinfo callinfo, sandboxpluginexecutioncontext requestcontext, guid pluginassemblyid, int32 sourcehash, string assemblyname, guid plugintypeid, string plugintypename, string pluginconfiguration, string pluginsecureconfig, sandboxrequestcounter& workercounter)</d2p1:value> </keyvaluepairofstringanytype> </errordetails> <message>system.argumentnullexception: value cannot null. parameter name: plug-in type not found in 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>
this existing plugin have working in crm 2011. main difference i've updated sdk against 7.0.0.1 using nuget package.
https://www.nuget.org/packages/microsoft.crmsdk.extensions/7.0.0.1
the previous question suggested version differences far can tell deployment newer version if (as seen below in deployment manager below) sdk version shouldn't problem.
any ideas?
i suggest use assemblies provided in respective sdk of version of crm.
if deploying plugin crm 2011 environment should still use assemblies supplied in 2011 sdk. (i.e. version 5...*)
Comments
Post a Comment