Plugin Step Registrierung Unable to load the Plugin

Bild Microsoft Dynamics CRM 2011

Plugin Step Registrierung Unable to load the Plugin

Beitragvon Nicole Schmitz » 26. August 2015 13:42

Hallo zusammen,

ich versuche ein Plug-in fĂĽr das Create einer Verkaufschance zu schreiben bzw. ĂĽber das Plug-in Registrationtool zu registrieren. Das Assambly kann ich so auch ohne Probleme registrieren, aber sobald ich einen Step Create hinzufĂĽgen will bekomme ich eine Exception. Was mache ich falsch? Das Assambly wurde in Visual Studio 2013 geschrieben. Ist dies das Problem?
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unable to load the plugin type: ZugeordnetesProduktCreate.VerkaufschanceProduktCreate
Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ErrorCode>-2147204720</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Unable to load the plugin type: ZugeordnetesProduktCreate.VerkaufschanceProduktCreate</Message>
<Timestamp>2015-08-25T07:19:46.7487756Z</Timestamp>
<InnerFault>
<ErrorCode>-2147204720</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Unable to load the plugin type: ZugeordnetesProduktCreate.VerkaufschanceProduktCreate</Message>
<Timestamp>2015-08-25T07:19:46.7497773Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>System.IO.FileLoadException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D1878319</Message>
<Timestamp>2015-08-25T07:19:46.7497773Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

Server stack trace:
bei System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
bei System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
bei System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
bei System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei Microsoft.Xrm.Sdk.IOrganizationService.Create(Entity entity)
bei Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.CreateCore(Entity entity)
bei Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.RegisterStep(CrmOrganization org, CrmPluginStep step)
bei Microsoft.Crm.Tools.PluginRegistration.StepRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
Viele GrĂĽĂźe
Nicole
Nicole Schmitz
 
Beiträge: 427
Registriert: 4. Oktober 2010 16:17
Realer Name: Nicole Schmitz
Arbeitsort: Hennef
Microsoft Dynamics Produkt: Microsoft Dynamics CRM
Microsoft Dynamics Version: 2015

Re: Plugin Step Registrierung Unable to load the Plugin

Beitragvon Roxxinger » 26. August 2015 16:36

Hi,

ihr hat von 4.0 auf 11 geupgraded oder? Sind die Plugins auf der Disk oder in DB registriert?

Welche Versionsnr. haben die beiden Dateien?
Microsoft.Crm.Sdk.Proxy
Microsoft.Xrm.Sdk
Framework 4.0
Vielleicht kommt das was durcheinander da ihr auch CRM 2015 nutzt?
Roxxinger
 
Beiträge: 239
Registriert: 1. Juni 2010 14:33
Realer Name: Jan
Bezug zu Microsoft Dynamics: Freiberufler
Microsoft Dynamics Produkt: Microsoft Dynamics CRM
Microsoft Dynamics Version: 2011, 4.0


ZurĂĽck zu CRM 2011

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast