Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Unhandled script exception when using smartlists

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Please help me with this message,

Unhandled script exception:
String overflow caused by replace function.

EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE
SCRIPT_CMD_REPLACE

it keeps appearing whenever I try to open a smartlist which is connected to an SQL view .

*This post is locked for comments

  • Suggested answer
    Srini Ramidi Profile Picture
    Srini Ramidi 2 on at
    RE: Unhandled script exception when using smartlists

    Hi,

    Check to see if you are using any replace function with in Smartlist builder and not exceeding  the 255 characters length. 

    http://dynamicbusinesssolutions.ru/gp2010_dex.en/dexhelpmessages1053774.htm 

    Best,

    Srini

  • Frank_Heslin Profile Picture
    Frank_Heslin 895 on at
    RE: Unhandled script exception when using smartlists

    Are you able to run the view directly in SSMS?

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

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans