Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

VBA 20406 error; ROI.exe; Remote Desktop (RDP)

Posted on by Microsoft Employee

I'm working with a client to upgrade to SL 2018 CU5. Right now we're in the testing phase, using RDP to connect to the server.

 

I've got one user who, when trying to access some customized screens, receives a 20406 VBA error. They also cannot run reports as ROI is not invoking properly. We created a new network user with their same network permissions and SL permissions. That user was able to access the screens and run without issue.

 

Thinking that the problem was perhaps corruption in the user, I deleted the login from SL and deleted the corresponding SQL user in SQL server. I then recreated the user, and ran Sync Ownership, all to no avail.

 

Has anyone else seen this, or have suggestions on where to go next? 

Thanks!

  • CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: VBA 20406 error; ROI.exe; Remote Desktop (RDP)

    Dear Stuart,

    It could be that users access rights to the SL program files, but I've seen this resolution:

    •Locate the APC folder (C:\Users\User Name\AppData\Roaming\Microsoft Dynamics SL\APC).

    •By default the APC folder is hidden due to some security reason. You may need to enable the visibility of hidden files / folders.

    •Delete the swimapi.kpr and swimapiex.exd files. These files are responsible for the loading of customizations prior to screen load.

    •On launching the customized screen again, these files will be recreated.

    Jana MacDonald

    MSFT Support

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans