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 :
Microsoft Dynamics AX (Archived)

Form opening crashes AX

(0) ShareShare
ReportReport
Posted on by

Hello,

I am new to Dynamics, we have a custom form in AX, I added another data source to the form with an outer join and some x++ code to add it to an executeQuery method.  Everything worked fine.  Now I deleted the data source and the code I added to the executeQuery method, but now when I open the form Dynamics crashes.  I deleted the cached files, restarted the service and dynamics still crashes.  I also can not seem to place a break point in any of the forms methods that will get hit.  I click on a link to open the form, Dynamics starts processing and then just crashes, no error messages appear.  Any help would be appreciated!

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    When you say you deleted the data source, please check whether you have deleted even the fields that has been setup this table as data source and also on other places of the form where this deleted datasource has reference(like in init method of form and so on).

  • Suggested answer
    Mark Greg Profile Picture
    on at

    Thank you Chaitanya,

    You led pointed me in the right direction.  I had personalized the form in the UI, so I had to add the data source back, go back into personalize and remove that field I added.  That field did not show up in the AOT, it must just be stored somewhere...

    This took care of it for me.

    Thanks again!

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans