Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Unhandled script exception when using smartlists

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans