Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

"Unhandled Exception error" on Accounting Distribution EP form

(0) ShareShare
ReportReport
Posted on by 922

Hello Everyone,

In "distribute Amount" form on EP (TrvExpenseReport) I got this Unhandled Exception Error when I tried to create new line

pastedimage1585220245065v1.png

An unhandled error has occurred. To view details about this error, enable debugging in the web.config file or view the Windows event logs.

Object reference not set to an instance of an object.

Microsoft.Dynamics.Framework.Portal.CommonControls

at Microsoft.Dynamics.Framework.Portal.CommonControls.AxDistribution.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Now I can't access Microsoft.Dynamics.Framework.Portal.CommonControls.AxDistribution.OnPreRender method as it is inside default dll.

How to find debug this issue? 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    I have fixed my problem by enabling .NET Framework. thegeekpage.com/.../

  • Suggested answer
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    If you have consistent repro and you face it for all users, I would log it to Microsoft Support for investigation. This might require a new hotfix.

  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    thank you everyone for suggestions,

    My infra team said that system is already updated to CU13 so this hot fix will not be helpfull.

    During my testing I came to know that it is working fine for normal financial dimension (less then 10). It throw an error when i select "advanced rule structure " financial Dimensions.

    Anyone got any idea about this issue now?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    Hi,

    The link seems indeed broken.

    Yet, I can see KB 3132818 on LCS.

    Can you try the following:

    Logon to LCS

    Search for the issues / hotfixes via the issue button/icon and enter the number 3132818.

    This will lead you to a hotfix that is applicable for AX2012 R3 systems older than CU12.

    Best regards,

    Ludwig

  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    Can't access the Link. with my hotmail, office 365 account and client admin account with d365 license.

    how to access this link.

    Issue search

    Issue search encountered an error

    No update found for the ID specified

  • Suggested answer
    RE: "Unhandled Exception error" on Accounting Distribution EP form
    AxDistribution control is a part of the framework code so they will be not able to debug it.
    Could you check if you have following hotfix installed
    https://fix.lcs.dynamics.com/Issue/Details?kb=3132818&bugId=370742
    Maybe that will help.
  • Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: "Unhandled Exception error" on Accounting Distribution EP form

    Thank you Michal Krejza for the reply,

    I am using ax 2012 R3 and it is only appearing on ammount distribution page for expense Report.

  • RE: "Unhandled Exception error" on Accounting Distribution EP form

    Hello Khurshid,

    What is your AX 2012 version ? Do you face the error message on every expense report, or is it specific to some expense reports ?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans