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?
我有一个类似的问题,我可以通过运行CRM的修复安装并重新配置每个服务设置为的服务帐户来解决。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.