Dexterity Development ‘Unhandled script exception’ on data area

● Ian Grieve ●  ● 1 Comment   ● 

Microsoft Dynamics GPI’ve been doing some work recently on upgrading some Dexterity code to work with Microsoft Dynamics GP 2016 (both the RTM and R2). After compiling the new dictionary, I started Microsoft Dynamics GP and as the home page was loading got the following error:

MIS_AMS_Ext_160.dic - Unhandled script exception: SCRIPTS - data area. EXCEPTION_CLASS_SCRIPT_MISSING

MIS_AMS_Ext_160.dic

Unhandled script exception:
SCRIPTS - data area

EXCEPTION_CLASS_SCRIPT_MISSING

Clicking OK got me a second error:

MIS_AMS_Ext_160.dic - 'Switch Company_WIN_PRE on form Switch Company' 'OK_Click() of form Switch Company', 0

MIS_AMS_Ext_160.dic

'Switch Company_WIN_PRE on form Switch Company'

'OK_Click() of form Switch Company', 0

This error was somewhat puzzling as there is no code on Switch Company:

Script Editor

I spent a bit of time investigating, and a lot of time cursing, before I established the cause of the problem and fixed it.

I’ve not had time to get properly sorted out with source control of the Dexterity; I am controlling the source, but don’t have it integrated with Dex Utils.

This is the direct cause of my problem; I am currently exporting and importing using text files to get the code into the new dictionaries. It turns out that during the export/import I lost a couple of the script files. Redoing the export and import brought all of the files across and the error went away.

From not having had time to integrate source control with Dexterity, I caused a fairly substantial loss of time, so this is something I need to progress quickly. With the recent addition of a more technical resource into my team, I can delegate this task.

What should we write about next?

Please leave this field empty.

Your Name (required) -
Your Email (required) -
● Categories: Dexterity, Dynamics, GP, Microsoft ● Tags: , , , , , , ,  ● Permalink ● Shortlink ●

1 Response

Leave a Reply

Your email address will not be published. Required fields are marked *