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: (reference by Microsoft Dynamics )
ShowDebugMessage=FALSE ScriptDebugger=FALSE ScriptDebuggerProduct=0