Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Unhandled script exception: Invalid data types for 'set'. EXCEPTION_CALL_SCRIPT_BAD_TYPE

Posted on by Microsoft Employee

I receive this error upon login and logout of GP.  Any ideas what is causing the error?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unhandled script exception: Invalid data types for 'set'. EXCEPTION_CALL_SCRIPT_BAD_TYPE

    I've tried that too, and the error still is not resolved.  I've also tried deleting the registry and reinstalling still to no avail.

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Unhandled script exception: Invalid data types for 'set'. EXCEPTION_CALL_SCRIPT_BAD_TYPE

    Hello Imorris

    I would simply recommend copying the whole GP folder from the machine which is not having the issue to the corrupted one.

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unhandled script exception: Invalid data types for 'set'. EXCEPTION_CALL_SCRIPT_BAD_TYPE

    Thank you for the response.  Unfortunately, I've tried this and I still get the error on the computer.  The strange thing is that I do not get the error when I try reproducing the error on a computer that is not having the issue.  The computer having the problem is a HP Compaq 6300 Pro SFF.

  • Redbeard Profile Picture
    Redbeard 12,931 on at
    RE: Unhandled script exception: Invalid data types for 'set'. EXCEPTION_CALL_SCRIPT_BAD_TYPE

    If this is not happening at every workstation, try the following:

    Take the Dynamics code folder (GP Program Folder) from a workstation where the error does not appear when logging in and copy it to the workstation where the error message does appear.

    Edit the Dex.ini file and set Synchronize=True in order to re-synchronize the dynamics.dic file.

    Attempt to log in.

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans