Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"String overflow on set" message in Microsoft Dynamics GP


View products that this article applies to.

Symptom

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]'.

EXCEPTION_CLASS_SCRIPT_STRING_OVERFLOW



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'.




↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

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:           
ShowDebugMessage=FALSE
ScriptDebugger=FALSE
ScriptDebuggerProduct=0


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

↑ Back to the top


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:
http://blogs.msdn.com/developingfordynamicsgp/pages/support-debugging-tool.aspx

  

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kb

↑ Back to the top

Article Info
Article ID : 2451176
Revision : 1
Created on : 1/7/2017
Published on : 12/8/2011
Exists online : False
Views : 221