My Dynamics CRM instance refuses to run plugins. Unfortunately I don't have physical access to the environment, I cannot debug or investigate. Only guess and instruct system administrator to try another approach.
I started from compiling sample plugins from MS CRM SDK and registering it. On the server it's possible to register in sandbox
mode only. I don't have Deployment Administrator privileges.
Plugin is registered on Create
message on account
entity — in the way SDK asks to do. But following run time error blocks execution:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The plug-in execution failed because the Sandbox Client encountered an error during initialization.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147204748</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>The plug-in execution failed because the Sandbox Client encountered an error during initialization.</Message>
<Timestamp>2013-04-10T07:53:37.9238143Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[SamplePlugins: Microsoft.Crm.Sdk.Samples.FollowupPlugin]
[0a47eeb7-b3a1-e211-8ab3-00155d008717: Microsoft.Crm.Sdk.Samples.FollowupPlugin: Create of account]
Could you please give me an clue, what I could try next, to fix the issue?
I had a similar issue that I was able to resolve by running a repair installation of CRM and reconfiguring the service accounts that each service was set up as.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With