Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2015 crashes when importing VBA User Forms on Windows 10

(0) ShareShare
ReportReport
Posted on by 3,954

This is a new Windows 10 workstation.  GP works fine and we can import package files that do not contain VBA code.  We've tried registering the FM20.dll file and the mscomctl.ocx file.  The package with the user forms imports fine into GP on other non-Windows 10 workstations.

Here are the errors we're seeing in Event Viewer:

Faulting application name: Dynamics.exe, version: 14.0.84.0, time stamp: 0x55510502

Faulting module name: fm20.dll, version: 11.0.8000.0, time stamp: 0x434ba62b

Exception code: 0xc0000005

Fault offset: 0x00056d20

Faulting process id: 0xa4c

Faulting application start time: 0x01d35fd1e2cab5ea

Faulting application path: C:\Program Files (x86)\Microsoft Dynamics\GP2015\Dynamics.exe

Faulting module path: C:\Windows\System32\fm20.dll

Report Id: 16e0ea70-5e5a-4e70-b108-dd5c3a3ccc89

Faulting package full name:

Faulting package-relative application ID: 

And:

Application: Dynamics.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

   at <Module>.TNT_new_event_loop(Int16 (HWND__*, EVENT*, Int16*), Int16, Int16)

   at <Module>.dtw_run()

   at <Module>._WinMainCRTStartup()

Any ideas???

*This post is locked for comments

  • DebN Profile Picture
    DebN 3,954 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    It's 64-bit windows and we tried having the file in each of those folders.

  • Srini Ramidi Profile Picture
    Srini Ramidi 2 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    Hi,

    Can you check where you have Fm20.Dll, C:\Windows\SysWOW64 or  C:\Windows\System32 folder?  if it is 64-bit windows the dll should be in C:\Windows\SysWOW64 folder.

  • DebN Profile Picture
    DebN 3,954 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    Hi Srinivas,

    Yes, we tried that, too.  Thanks for the suggestion, though!

  • Srini Ramidi Profile Picture
    Srini Ramidi 2 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    Can you try to open the GP with Elevated permissions(Run As Administrator)?

  • Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    The VBA forms should also be in the Dynamics.vba. Can you check if you have other .vba files? There's one created for each dictionary and they all have a start out size of 4K. If you have anyone larger than that, then that's the one that contains your customized forms.

  • DebN Profile Picture
    DebN 3,954 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    Hi Mariano,

    Thanks for the quick response!  I forgot to mention that we tried copying the Dynamics.vba file from another workstation.  These are VBA User Forms, not modified GP forms.  And we even tried the import from within the GP VBA Editor.

  • Suggested answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: GP 2015 crashes when importing VBA User Forms on Windows 10

    No, no idea. However, in lieu of importing the package file, copy the Dynamics.vba file over to the environment where you are experiencing this issue. Alternatively, import the package file with just the form customizations, then add the VBA code manually.

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,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans