web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    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.

  • DebN Profile Picture
    3,954 on at

    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.

  • MG-16101311-0 Profile Picture
    26,225 on at

    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.

  • Srini Ramidi Profile Picture
    2 on at

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

  • DebN Profile Picture
    3,954 on at

    Hi Srinivas,

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

  • Srini Ramidi Profile Picture
    2 on at

    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
    3,954 on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
mtabor Profile Picture

mtabor 1

#2
Victoria Yudin Profile Picture

Victoria Yudin 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans