Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

Error loading VBA project

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.

  • 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans