Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

An unexpected client error has occurred on a custom Gantt chart

(0) ShareShare
ReportReport
Posted on by 5

Hi All,

I have developed a custom Gantt chart in production control module. The Gantt chart is loading correctly with appropriate timelines but as soon as I clicked on that it shows " An unexpected client error has occurred". I tried to debug the code but it isn't throwing from the code. I also tried using different form patterns for that form and looked for this error in the event viewer as well but couldn't figure anything out.   Screenshots are attached below for references.

P.S : This is working fine on my local development machine. It occurs on some cloud environments.

pastedimage1675085786250v2.png

pastedimage1675085806303v3.png

pastedimage1675085820641v4.png

Thanks.

  • RE: An unexpected client error has occurred on a custom Gantt chart

    yes, I did that on those environments too but the error is not getting thrown from my code.

  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: An unexpected client error has occurred on a custom Gantt chart

    Have you tried debugging same on cloud environments too?

  • RE: An unexpected client error has occurred on a custom Gantt chart

    Hi Bharani,

    I forgot to add in my post that this is working fine on my local development machine, it's only giving error on cloud environments.

  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: An unexpected client error has occurred on a custom Gantt chart

    This error is due to your customisation done. Place the breakpoint in info class add method and check the exception how it is getting triggered. This error only comes when there is some issue in development at form level.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans