尝试在 CRM 中查看工作流程时出现以下错误。
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3C0AAE93
Detail:
<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" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3C0AAE93</Message>
<Timestamp>2013-07-26T01:19:35.7786421Z</Timestamp>
<InnerFault>
<ErrorCode>-2147200969</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Error generating UiData</Message>
<Timestamp>2013-07-26T01:19:35.7786421Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
有没有人遇到过这个错误?我尝试删除正在运行的工作流版本,但没有成功。
最佳答案
尝试重新启动 IIS 和 AsyncService,然后重试。
MSDN forums 上的其他人有问题,结果证明是导致问题的自定义工作流步骤:
So it looks like the problem was it had a custom workflow step that was referencing a plugin that got moved/unregistered. I re-registered the plugin and was able to deactivate the workflow.
关于它将自己添加到托管解决方案:可能与创建托管解决方案时的依赖关系有关。在创建托管解决方案后,它不应该能够自行添加。
关于dynamics-crm-2011 - 尝试查看 CRM 工作流时出错 - 生成 UiData 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17871489/