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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unexpected exception from the plugin .

(0) ShareShare
ReportReport
Posted on by 6

Hello All Experts,

What could be the reason the plugin throws an error intermittently.

Is it because user who are working on it are frequent or something else.

System.Aggregateexception:one or more errors occurred

 


this is happening on update event.

*This post is locked for comments

I have the same question (0)
  • Clem Profile Picture
    2,541 on at
    RE: Unexpected exception from the plugin .

    Hello,

    Can you give more details about the exception ? Here you seem to have multiple exceptions and all of them are "merged" in one Aggregated one. But you should be able to have a look on each one via a debug.

    This should lead to the root cause of the error.

    Clément

  • Suggested answer
    Jan Gracelin Jeno Profile Picture
    150 on at
    RE: Unexpected exception from the plugin .

    I think you are updating the same field on which the plugin is triggered.

  • EmployeeOcta Profile Picture
    6 on at
    RE: Unexpected exception from the plugin .

    Hello All Experts.

    You are correct to suggest me to debug the plugin, but I don't know how to debug MERGED dll.

    Also this error is intermittent and non reproducable on other instance ,except for coming in prod instance.

  • ashlega Profile Picture
    34,477 on at
    RE: Unexpected exception from the plugin .

    You may want to use the sample code here:

    msdn.microsoft.com/.../system.aggregateexception(v=vs.110).aspx

    To parse those individual errors in the aggregateexception and to send error messages to the tracing service:

    community.dynamics.com/.../implementing-tracing-in-your-crm-plug-ins

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans