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 :
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.

I have the same question (0)
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    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.

  • Syed Shahbaz Akhter Profile Picture
    5 on at

    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
    3,634 Moderator on at

    Have you tried debugging same on cloud environments too?

  • Syed Shahbaz Akhter Profile Picture
    5 on at

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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans