
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?
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.
2.Check if there is any field which not allows null and when you importing the data, there is no value for the field.
Best Regards,
Leo