web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Unhandled script exception: Illegal address for field 'AccountID' in script 'IsProductActiveForCompany'. script terminated.

(0) ShareShare
ReportReport
Posted on by 492

Hi All,

I received this error message "Unhandled script exception: Illegal address for field 'AccountID' in script 'IsProductActiveForCompany'. script terminated." when I tried to close the Report Writer in GP after I modified W2 4-Up Laser Form. See below:

2577.Error1.jpg

If you scroll down, you can see

EXCEPTION_CLASS_SCRIPT_ADDRESSING
SCRIPT_CMD_LOAD_ATSI12

GP is on 18.4.1384, I am seeing this error on client with Integrity-data installed and not on the other GP client.

Any suggestion?

Thanks,

Rob

Categories:
I have the same question (0)
  • Nicole Hellerud Profile Picture
    1,712 on at
    RE: Unhandled script exception: Illegal address for field 'AccountID' in script 'IsProductActiveForCompany'. script terminated.

    Hi Rob-

    Thank you for your post.

    Are you able to remove Integrity from this install and see whether the error goes away?

    I like to leverage a DEXSQL.log and/or SQL trace in these situations as either log should indicate what table is being addressed prior to the error.

    KB 850996 - How to create a Dexsql.log file to troubleshoot error messages in Microsoft Dynamics GP

    How to use SQL Profiler to create a SQL trace in Microsoft SQL Server

    What I'd suggest is starting with the DEXSQL.log and just do a search on the error syntax, once located look back chronologically and see if you can see where the error is coming from.

    The SQL trace will show the same but in further detail, I find SQL traces not as easy to review personally.

    I hope this helps, let us know how it goes.

    Best Regards,

    Nicole Sutton
    Support Engineer
    Microsoft Dynamics

  • Robert Yao Profile Picture
    492 on at
    RE: Unhandled script exception: Illegal address for field 'AccountID' in script 'IsProductActiveForCompany'. script terminated.

    Hi Nicole,

    Thanks for your reply, the problem is only related to the GP client that had Integrity data product installed not affect to any other regular GP client

    Let us try the DEKSQL first, Please see the attachment for the DEXSQL.log. Let me know if you find anything that could cause this issue.

    Thanks,

    Rob

    0361.DEXSQL.zip

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,065 Most Valuable Professional on at
    RE: Unhandled script exception: Illegal address for field 'AccountID' in script 'IsProductActiveForCompany'. script terminated.

    Use GP Power Tools to capture logs (5 logs with one click not just DEXSQL.Log which won't help with a Dexterity error).

    Use GPPT's Resource Information window in Procedure and Function mode to identify the product that IsProductActiveForCompany script comes from.

    I would say you should be using an integrity data alternate window and the error is because you are using the original version.

    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

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,188

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 868 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans