Symptom #1 - You receive the following error message in Microsoft Dynamics GP on Terminal Server machine when using Bank Reconcilation: 

Unhandled script exception:

String overflow on set '[Not Found]'.


Symption #2 - A compupter check batch in Payables Management keeps going to Batch Recovery and you get this message:

String overflow on set 'Voucher Number - WORK'.


String overflow messages are caused when a string value is being set into a field or variable which is shorter than the string value. They are not normally displayed on a live system and would only be showing up if the Debug menu was enabled and Show Debug Messages was enabled.


Note Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.

OPTION 1: In the top menubar in Microsoft Dynamics GP, click on DEBUG and then click to clear Show Debug Messages.  Then test again and the issue should be resolved. However it is recommended that the Debug menu is not enabled in a live system as there can be other side effects.  We recommend to do Option 2 as well. 

OPTION 2: To resolve this problem, navigate to the code folder for Microsoft Dynamics GP. The default location is usually: C:\Program Files\Microsoft Dynamics GP\GP\Data. Right click on the Dexx.ini file and open it with Notepad. Review the file for the below lines and set them to FALSE or as shown below:


This will disable the Dexterity Script debugger and the Debug menu and resolve the issue.  

More Information

If you were using the Debug menu for the capturing of Dexterity Script Logs and Dexterity Script Profiles, this can be achieved easily with the Support Debugging Tool without needing the Debug menu enabled.

For more information see the portal page:


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!