Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)
Answered

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

Posted on by 8,270

Hi guys,

Last friday I uploaded a custom plug-in and now my users are telling me that they get the error "There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing" every time they try to Qualify a Lead.

I already unregistered the plug-in, but they still cannot Qualify and keep getting the error. How can I check which plug-in/step is causing the issue please?


Kind regards,
Raúl

*This post is locked for comments

  • RaulOcana Profile Picture
    RaulOcana 8,270 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    Yeah I'll check and disable plugins to find this out.

    Thanks Chitra

  • Verified answer
    Royal King Profile Picture
    Royal King 27,686 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    I have seen this issue  sometime when i had more than one plugin registered with the same message. If one of them failed i will receive this error message. TO resolve this issue i disabled other plugin and tested with one i was testing and it worked. So check if you have any other plugin registered on the same message if so disable it and test it.

  • RaulOcana Profile Picture
    RaulOcana 8,270 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    Hi Chitra,

    Well my plug-ins move lead's notes to opp's notes, but nothing related to status. And I have already disabled and unregistered the custom plug-in :(

    Regards,

    Raúl

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    i showed case as  an example. In your case may be you are trying to set  status and status reason that are related each other. 

    if you have SetStateRequest in your custom plugin i would suggest the value you are settign to statecode and statuscode fields.

  • RaulOcana Profile Picture
    RaulOcana 8,270 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    Hi,

    But this happens when trying to Qualify a Lead, nothing related to Cases.

    Regards,
    Raúl

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing

    This error occurs when you try to set status of the record with wrong status reason. for example  case has following valid  status and status reason transition. 

     
    Status status reason
    Case 0:Active 1:In Progress
    2:On Hold
    3:Waiting for Details
    4:Researching
    1:Resolved 5:Problem Solved
    1000:Information Provided
    2:Canceled 6:Canceled
     

    while setting the status of the case if user assigns wrong status reason code and status code , you will see this error 

    if user tries to set case status reason to be 4:Researching and status to be 1:Resolved  you will see this error  because status reason 4 is not exists for status 1.Resolved

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans