Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Fault Exception Plugin Error when updating the child records when parent record is updated.

Posted on by 40

Hi,

I have one entity with 2 forms and both forms are related to each other with 1:N relationship. I am writing a plugin to update all the child records once parent field is updated.

So once eil_name of parent form is updated then all the child form's eil_name should also be updated.

Below is my code to update the child record field. I am fetching the child record through fetch xml and updating them. All the traces shows that the field is getting updated correctly but throws an error once it reaches service.update();

pastedimage1588789213610v2.png

Below is the screenshot of the error that is occurring when the debugger reaches service.update function.

pastedimage1588785752775v1.png

I have called this in the postoperation of update when eil_name(Filtering attribute) get updated. 

Below is the Tracing error

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Download the details and load with Plug-in Profiler.
ErrorCode: 0x80040265
Message: Download the details and load with Plug-in Profiler.

Any help would highly be appreciated.

  • RE: Fault Exception Plugin Error when updating the child records when parent record is updated.

    Glad to hear. Can you please mark this answer as verified please

  • Suggested answer
    Learner001 Profile Picture
    Learner001 40 on at
    RE: Fault Exception Plugin Error when updating the child records when parent record is updated.

    Thank you so much.

    It worked like magic!!!!

  • Verified answer
    RE: Fault Exception Plugin Error when updating the child records when parent record is updated.

    Hello,

    Just try to uninstall the profiler and check.

    Actually with profiler, if you have configure to profile the plugin step , then this will happen.

    Thanks,
    Ankit Sabharwal

  • Learner001 Profile Picture
    Learner001 40 on at
    RE: Fault Exception Plugin Error when updating the child records when parent record is updated.

    I re installed the plugin profiler and profiled the plugin. This is the error i could see.

    pastedimage1588829477397v1.png

  • RE: Fault Exception Plugin Error when updating the child records when parent record is updated.

    Hy,

    Just check whether you are profiling the plugin. Cn you click on view detail o f the exception and share the exception details. Also try to uninstall the plugin profiler and then check.

    Thanks,

    Ankit Sabharwal

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans