Skip to main content

Notifications

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

Unhandled script exception:

(0) ShareShare
ReportReport
Posted on by 45

Reviewing Customer Records and received the following message:

Unhandled script exception:

Illegal address for field 'DC_Location' in script 'Display_Record_Customer'. Script terminated.

I can't find any information about the field.

If you know what this means, and how to correct it, please let me know.

Categories:
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,932 Most Valuable Professional on at
    RE: Unhandled script exception:

    Hi Mike

    An Illegal Address Error occurs when Dexterity code is looking for a field that does not exist on the current version of the window.

    It can happen when a (badly written) trigger script does not check if the correct alternate version of a window has been opened and tries to reference a field that is not on the window.

    It can also happen with a Modified window which was from an earlier version and is missing a newly added field.

    You need to check the Alternate Modified security to check you are using the correct version of the window.

    If you have GP Power Tools (as all customers should), you can use Resource Information to identify which dictionary product the script Display_Record_Customer comes from.

    You can also use it to find which dictionary the field DC_Location belongs to.

    The Security Profiler and Security Information windows will be able to confirm which window version is in use and show how to change it.

    Regards

    David

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans