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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error when qualifying leads

(0) ShareShare
ReportReport
Posted on by 5

When importing and qualifying multiple leads, sometimes (but not always) I will get this error: 


Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing. (Fault Detail is equal to Exception details:
ErrorCode: 0x80040251
Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.
TimeStamp: 2020-01-22T14:42:09.2199016Z
OriginalException: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing. (Fault Detail is equal to Exception details:
ErrorCode: 0x80040251
Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.
TimeStamp: 2020-01-22T14:42:09.2199016Z
--
Exception details:
ErrorCode: 0x80040251
Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.
TimeStamp: 2020-01-22T14:42:09.2199016Z
--
).
at Microsoft.Crm.Exte...)., Correlation Id: a29d1efa-30a2-44b2-8193-827b9e0bc600, Initiating User: 05448dc1-e2cf-e911-a98c-000d3a1cbed4
ExecuteInternal finished, Correlation Id: a29d1efa-30a2-44b2-8193-827b9e0bc600, Initiating User: 05448dc1-e2cf-e911-a98c-000d3a1cbed4

[Microsoft.Dynamics.MarketingSales.Plugins: Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin]
[0d83dee1-59f3-e611-80c4-02155dc812c3: Microsoft.Dynamics.MarketingSales.Plugins.QualifyLead.QualifyLeadPlugin: QualifyLead of lead]


Error Message:

Unhandled exception:
Exception type: Microsoft.Crm.CrmException
Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.ProcessException(Exception originalException, IExecutionContext context, SandboxClient client, SandboxCallTracker callTracker, Boolean isSafeToRetry, DateTime performanceExecutionStartTime, SandboxTracker tracker, Guid parentExecutionId, CrmException& crmException, String& assemblyContents)
at Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass24_0.<Execute>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.CDSExecute(IServiceProvider serviceProvider)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
-- End stack trace --

The marketing plugin mentioned does not exist in our system and I have tried disabling Field service and Activity Feeds plugins like other solutions have mentioned. Any ideas?

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Please consider the following points.

    1.This error always happen when one than more plug-ins are registered with the same message. In your case, it may be in Lead entity and Create and Update message.

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/169164/there-is-no-active-transaction-this-error-is-usually-caused-by-custom-plug-ins-that-ignore-errors-from-service-calls-and-continue-processing/418560

    2.Check if there is any field which not allows null and when you importing the data, there is no value for the field.

    https://community.dynamics.com/365/b/prashantmaurya/posts/there-is-no-active-transaction-this-error-is-usually-caused-by-custom-plug-ins-that-ignore-errors-from-service-calls-and-continue-processing

    Best Regards,

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans