Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Error loading VBA project

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, On new installs of Dynamics SL 7, we are getting this error when opening screens with customizations. "Error loading VBA project. HRESULT = 0x80004005" Title "System Message 20406".

The setup completed successfully as well as SP3.

Could it be that the VBA component did not install? If so, how can we manually install it?

Any other ideas?

Thanks in advance.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error loading VBA project

    VBA Errors Solution.

    You can do the following steps that may resolve your issues.

    1.Log off from Microsoft Dynamics SL.

    2.Browse to the Microsoft Dynamics SL program files directory. (Example Path   C:\Program Files\Microsoft Dynamics\SL\Applications\)

    3.take a backup of Solomon.Ini file

    4.Locate the Solomon.ini file, and then open the file by using Notepad.

    5.Add the below lines into the Solomon.ini file  

    [Customization]                                

    VBASourceCompile = Yes

    6.Save and close the Ini file.

    7.Relaunch the Dynamics SL

    Hope this explains.

    Chuck Otis

    Winxnet, Inc.

  • Apps Mexico Profile Picture
    Apps Mexico 1,090 on at
    RE: Error loading VBA project

    Hi,

    Try deleting the APC folder on this directory C:\Users\username\AppData\Roaming\Microsoft Dynamics SL\

  • Alva Profile Picture
    Alva 240 on at
    RE: Error loading VBA project

    open your Solomon.ini on the file server and add this to the end and save.

    [Customization]                                

    VBASourceCompile = Yes

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans