Microsoft Dynamics CRM 2013插件-没有活动的交易错误 [英] Microsoft Dynamics CRM 2013 Plugin - There is no active transaction error

查看:94
本文介绍了Microsoft Dynamics CRM 2013插件-没有活动的交易错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力解决MS Dynamics CRM Online插件中的错误. (见下文). 它似乎在随机时间发生,但在活动活跃时更可能发生. 我已经验证,并且没有异常提示的尝试/捕获继续问题. 而且,正如这篇文章所暗示的那样,没有对OrganizationService Kept的成员引用:

https://community.dynamics.com/crm/f/117/t/138785 .aspx

有人知道导致问题的原因或解决方法吗?

 <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance"     xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220911</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</Message>
  <Timestamp>2014-09-10T00:30:02.6905225Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147220911</ErrorCode>
    <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</Message>
    <Timestamp>2014-09-10T00:30:02.6905225Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
<TraceText>
 

解决方案

BlueSam确实很接近,导致问题的原因不是我们的插件,而是Microsoft的ActivityFeeds插件.

在禁用ActivityFeeds.Plugins.CaseCreate:创建客户案例和创建联系案例之后,我们再也没有出现没有有效交易"的问题.

我希望这对某人有帮助.

I have been struggling with a an error in a plugin for MS Dynamics CRM Online. (see below). It appears to happen at random times, but more likely to occur when the activity is high. I have verified and there are no try/catch-continue issues as the exception suggests. And that there are no member references to the OrganizationService Kept as this post suggests:

https://community.dynamics.com/crm/f/117/t/138785.aspx

Does anyone know what is causing the issue, or how to get around it?

<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance"     xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220911</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</Message>
  <Timestamp>2014-09-10T00:30:02.6905225Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147220911</ErrorCode>
    <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</Message>
    <Timestamp>2014-09-10T00:30:02.6905225Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
<TraceText>

解决方案

BlueSam was really close, it turns out it was not our plugins that were causing the issue, it was Microsoft's ActivityFeeds plugins.

After disabling the ActivityFeeds.Plugins.CaseCreate: Create of case for account and Create of case for contact, we have not gotten any more "There is no active transaction" issues.

I hope this helps someone.

这篇关于Microsoft Dynamics CRM 2013插件-没有活动的交易错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆