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.

Error message when you try to open a customized screen in Microsoft Dynamics SL 7.0: "Compile error"


Symptoms

When you try to open a screen that contains VBA customizations in Microsoft Dynamics SL 7.0, you may receive the following error message:

ERROR
*******
Complie error:

Can't find project or library

Debugger shows stoppage on Trim function

↑ Back to the top


Cause

 VBA incompatibilities and compiling errors.

↑ Back to the top


Resolution

Browse to the SL root directory (the default location is Program Files\Microsoft Dynamics\SL\Applications\) and locate the Solomon.ini file (this is the global solomon.ini) and using Notepad add this section to it:

[Customization]
VBASourceCompile=Yes
VBASourceSave=No

↑ Back to the top


More Information

If VBASourceCompile=Yes then all VBA customizations are recompiled during each startup of an application.

If VBASourceSave=No then all VBA customizations are not saved after each recompile during startup of an application.

↑ Back to the top


Keywords: vkball, kb

↑ Back to the top

Article Info
Article ID : 2001541
Revision : 2
Created on : 2/2/2017
Published on : 2/3/2017
Exists online : False
Views : 109