web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.

Prashant Maurya Profile Picture Prashant Maurya 236

Issue: I was getting this error “There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing” when I was trying to resolve a case in dynamics CRM. Below is the detail error message.

<s:Envelope xmlns:s=”http://schemas.xmlsoap.org/soap/envelope/”&gt;
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring xml:lang=”en-US”>There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.</faultstring>
<detail>
<OrganizationServiceFault xmlns=”http://schemas.microsoft.com/xrm/2011/Contracts&#8221; xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”&gt;
<ActivityId>47a272d8-8312-43c0-a360-ed042eeced84</ActivityId>
<ErrorCode>-2147220911</ErrorCode>
<ErrorDetails xmlns:a=”http://schemas.datacontract.org/2004/07/System.Collections.Generic”/&gt;
<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>2018-07-09T08:36:55.4146969Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil=”true”/>
<InnerFault>
<ActivityId>47a272d8-8312-43c0-a360-ed042eeced84</ActivityId>
<ErrorCode>-2147220911</ErrorCode>
<ErrorDetails xmlns:a=”http://schemas.datacontract.org/2004/07/System.Collections.Generic”/&gt;
<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>2018-07-09T08:36:55.4146969Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil=”true”/>
<InnerFault i:nil=”true”/>
<OriginalException i:nil=”true”/>
<TraceText i:nil=”true”/>
</InnerFault>
<OriginalException i:nil=”true”/>
<TraceText i:nil=”true”/>
</OrganizationServiceFault>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

Root Cause: as evident from the error message there was some issue with some custom plugins on case close action. I was not having any custom plugin (or workflow) on this action but there was one from Microsoft (ActivityFeeds.Plugins.CaseClose). After disabling both steps of this plugin case started to resolve without any error.

Seems like there is some issue with the activityfeed plugin. As this plugin form MS worked fine till now so I started analysing why it is failing in my case. And finally, we came to now that it was happening because of empty customer name.

Fix: If customer (account/contact) name/full name is blank “(No name)” you will get this error. To resolve this issue you need to provide firstname/lastname/name field value on customer record.

 


This was originally posted here.

Comments

*This post is locked for comments