Skip to main content

Notifications

Announcements

No record found.

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

Unhandled Script Exception error in smartlist after new laptop install of GP 2013

Posted on by 50

Client is on GP2013.  User had GP installed on a new laptop. Now when he opens up a smartlist he is receiving error of "Unhandled Script Exception-Index 0 of local array is out of range in script- ASI_initialize_explorer_tree. Script Terminated".   We are not sure of how to resolve.   

Usually, a fix for this is applied by hunting through data in SQL tables beginning with “ADH”.  But, since he is the only one getting the issue and it’s on his new laptop, then we don’t believe it’s a “database/network” issue.

3782.smartlist-error.jpg

Categories:
  • Melissa Mayl Profile Picture
    Melissa Mayl 50 on at
    RE: Unhandled Script Exception error in smartlist after new laptop install of GP 2013

    Thanks. I'll provide to my tech and will open a case if further info/assitance is needed.

  • Suggested answer
    RE: Unhandled Script Exception error in smartlist after new laptop install of GP 2013

    I don't know if I've ever seen this error be user-specific.  Does 'sa' see this error?

    What usually happens when this issue shows, is the user attempts to access the SmartList window, they get this error, click OK, and then no reports show in the SmartList window to use.

    I guess I would still look at the scripts just to rule those out, then go from there on the specific user(s) experiencing this issue.

  • Melissa Mayl Profile Picture
    Melissa Mayl 50 on at
    RE: Unhandled Script Exception error in smartlist after new laptop install of GP 2013

    thanks Derek for the info.   If no other users experience this issue when opening up smartlist reports, would these steps still be applicable?  I can open a case but wanted to check on my question first.  

  • Suggested answer
    RE: Unhandled Script Exception error in smartlist after new laptop install of GP 2013

    This type of error is commonly caused, but not always, when running the ‘old’ ClearCompanies script, which can remove records from the ADH00100 table, thus causing this error. This error doesn’t require us to re-initialize SmartList, so we should be ok there.

    We normally would need to see the results of these scripts to verify what is missing between these tables:

          Select * from ASIEXP81 where ASI_Favorite_Type > 499 and ASI_Favorite_Type < 2000 order by ASI_Favorite_Dict_ID, ASI_Favorite_Type

           Select * from ADH00100 order by ASI_Favorite_Dict_ID, ASI_Favorite_Type

           Select * from ADH00101 order by ASI_Favorite_Dict_ID, ASI_Favorite_Type

    If the records missing are for custom SmartList reports, I can tell you which ones are missing, then sometimes I can write scripts that will help resolve the issue, especially if it is the ADH00100 table, or we'll need to use a backup of the DYNAMICS/system database from before the error was being seen, to DTS the missing records over as needed.

    I would recommend a support case, as that will expedite a resolution to this, as we'd need to go through the script results.

    Thanks

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

Product updates

Dynamics 365 release plans