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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Multiple script errors after 2021 Year End update

(0) ShareShare
ReportReport
Posted on by 55

Hello 

We recently applied the 2021 year end update and we've been experiencing different script errors when logging in or switching companies. On rare occasions that application will just bomb out and close. Below are some examples of the errors we're seeing. We use Bluemoon DE542, Mekorma, and E-One Smartlist Builder as 3rd party apps, which we upgraded to accommodate the GP upgrade.

GP-Script-Error-1.PNGGP-Script-Error-2.PNGMarv-GP-Error.PNG

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    As you mention several third party products, I'd recommend this test:

    1. On a machine where GP is installed, have all users log out of that GP instance.

    2. Rename the GP directory from something like C:\Program Files (x86)\Microsoft Dynamics\GP\ to C:\Program Files (x86)\Microsoft Dynamics\GP_OLD\

    3. In Control Panel > Programs and Features, right-click on this instance of Dynamics GP and click 'Change'. In the options window that appears, choose 'Repair'. Verify the repair process goes through successfully.

       The Repair process will completely re-create the entire GP directory under the original name/path, to include all folders and files, but no third party products, customizations, modified forms and reports, VBA, etc.

    4. Launch Dynamics GP from this 'new' directory and see if you still re-create these script errors when changing companies.

       If not, then we'd want to start testing by adding the forms and reports dictionary files and testing with those.

       Next, add back the third party products, one by one, testing after each one, until the script errors appear again, at that point you'd have a pretty good idea of what is causing the script errors to occur.

    I can say that so far we haven't seen any issues such as this, with users switching companies in Dynamics GP after the year end update or any other update, or really any script error issues such as this at all, to the point where it would suggest an issue with the updates.

    Thank you

  • WCJMON Profile Picture
    55 on at

    Thank you for your reply. Are you thinking this is at the application level and not the DB side? Based on your suggestion, it sounds like these script errors give zero indication as to what the issue is. I was hoping they might make sense to someone. 

  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    More times than not it's application level, which getting a 'new' code without third parties, customizations, modified forms and reports, VBA would help determine.

    If we still get the same script errors with a 'clean' GP instance, then it may be something more with databases or data. In that case, I'd start with a dexsql.log capturing the error, to see if that shows anything.

    Thanks

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Hi,

    How was the upgrade performed ? Did you made a dry-run on a TEST environment ? I always suggest clients they go thru a dry-run whenever this is possible, especially when their GP instance is loaded with a lot of 3rd-party add-ons and loads of customizations.

    In rare occasions when the GP is really bare-bone and vanilla, and from a recent build (i.e. 1 year prior), then you might attempt a direct upgrade on the LIVE data without testing..

    Having a TEST run is the best moment to iron out issues like you are running into now.

    As Derek suggested, I'd start by stripping down your GP client to the strict minimum and see if that works. The error messages you're getting are rarely meaningful when it comes to find out the root cause. But from the type of message, I'd bet my 2cts on some FORMS or REPORTS dictionary that didn't got properly updated.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans