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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
Posted on by

We've recently bumped up against this issue during our tests (CRM 2015 Update 0.1). There are plenty of answers online that mention that this error is prevented by disabling Activity Feed Rules and that has worked work us. However, I want to know how and why this issue occurred and what we can do to prevent it without disabling the rules.

When creating a Case, we have a synchronous workflow running that creates and associates a related record (N:1) and on create of that record, populates a value back on the Case.

When the Case is saved, the error mentioned above is shown. The weird thing is that this won't occur when opening a new Case form and filling in the required details and saving. But, when I'm on a Contact there's a subgrid for related Cases based on a custom relationship. When creating a Case through that subgrid and saving, the error occurs.

I've racked my brain trying to think what could possibly be tripping out the Activity Feeds. I've taken a look into the assemblies with ILSpy and the logic doesn't exactly seem complicated and the data I'm providing doesn't look like it would cause an exception. What's also strange is that this occurs on our Managed Test/Production environments, but not our Unmanaged Development environment.

Where should I go from here? Is there another cause that I haven't thought of or is the correct fix in this instance to always just disable the Activity Feed rule and forget about it?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi Thomas, Are you able to share the Synchronous workflow screenshot so I can see which entities it is referencing?

  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Please check event log or enable tracing. You can find exact error in the event log or tracing.

    Did you check if there are any duplicate steps?

    Try to create record with all information needed.

    Do Activity plugin have any class level variables?

    See if above points helps otherwise you will have to deactivate plugin step.

    Best Wishes, Raz

  • Community Member Profile Picture
    on at

    Hi Raz,

    Nothing is appearing in the server event log. Tracing doesn't surface anything more than what I've mentioned. I'll paste it below just incase. Just to be clear, although the exception mentions that it occurred on Create of Case, the Activity Feed step that's falling over is on SetStateDynamicEntity

    As for the plugins, there are none on our org firing for a Case.

    [2016-12-01 09:54:56.544] Process: w3wp |Organization:f75ccc1e-02a8-e611-80e1-0050569b6a23 |Thread: 17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 28cd3398-212f-44f3-90d7-e78876cfba21 | MessageProcessor.Execute ilOffset = 0x171
    >MessageProcessor fail to process message 'Create' for 'incident'.
    [2016-12-01 09:54:56.546] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 17 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 28cd3398-212f-44f3-90d7-e78876cfba21 | PlatformCommand.CreateCrmExceptionFromServiceFault ilOffset = 0x1B
    at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe) ilOffset = 0x1B
    at PlatformCommand.XrmExecuteInternal() ilOffset = 0xBC
    at CreateCommand.Execute() ilOffset = 0x6
    at EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) ilOffset = 0x0
    at EntityProxy.Create(Boolean performDuplicateCheck) ilOffset = 0xC
    at EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck) ilOffset = 0x0
    at CommandBase.UpdateEntity(Entity entity, Boolean retrieve) ilOffset = 0x97
    at SaveCommand.ExecuteCommand(String commandXml) ilOffset = 0x10E
    at CommandBase.Execute(String commandXml) ilOffset = 0x6
    at InlineEditWebService.Execute(Int32 command, String commandXml) ilOffset = 0x98
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x16
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x7F
    at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x3F
    at WebServiceHandler.Invoke() ilOffset = 0xAE
    at WebServiceHandler.CoreProcessRequest() ilOffset = 0x134
    at SyncSessionlessHandler.ProcessRequest(HttpContext context) ilOffset = 0x3F
    at HandlerWrapper.ProcessRequest(HttpContext context) ilOffset = 0xC
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x187
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0xF6
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x15B
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr) ilOffset = 0x32
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B
    >Crm Exception: Message: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing., ErrorCode: -2147220891
    [2016-12-01 09:54:56.552] Process: w3wp |Organization:f75ccc1e-02a8-e611-80e1-0050569b6a23 |Thread: 17 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 28cd3398-212f-44f3-90d7-e78876cfba21 | ErrorInformation.LogError ilOffset = 0x21
    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.

    Error Number: 0x80040265

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

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

    Source File: Not available

    Line Number: Not available

    Request URL:

    Stack Trace Info: [CrmException: 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.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
    at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
    at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)
    at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
    at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck)
    at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.UpdateEntity(Entity entity, Boolean retrieve)
    at Microsoft.Crm.Core.Application.WebServices.InlineEdit.SaveCommand.ExecuteCommand(String commandXml)
    at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.Execute(String commandXml)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans