Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

Updating GPAddin from 18.3 to 18.4

Posted on by 5

I have an addin that accesses modified PM forms to allow scanning and document viewing through a another application.  This worked fine with GP18.3, but when trying to upgrade to 18.4, I ran into versioning issues.  I was able to create the modifiedforms assembly using DAG.EXE.  When I try to run the addin, I get the following exception:

The description for Event ID 0 from source Microsoft Dexterity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

An exception occurred while trying to load or initialize the addin located at C:\Program Files (x86)\Microsoft Dynamics\GP2018\Addins\GPDataViewAddIn.dll.

Exception Details:
System.TypeInitializationException: The type initializer for 'Microsoft.Dexterity.Applications.root' threw an exception. ---> System.InvalidOperationException: Assembly [Application.MicrosoftDynamicsGp, Version=18.3.0.0, Culture=neutral, PublicKeyToken=null] conflicts with the dictionary [Microsoft Dynamics GP, version 18.4.1384].
at Microsoft.Dexterity.Bridge.DictionaryRoot.ValidateVersion(Assembly assembly)
at Microsoft.Dexterity.Applications.root..cctor()
--- End of inner exception stack trace ---
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpDictionary.PmTransactionEntryForm..ctor()
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpModifiedDictionary.PmTransactionEntryForm..ctor()
at Microsoft.Dexterity.Applications.MicrosoftDynamicsGpModifiedDictionary.PmTransactionEntryForm.get_Instance()
at GPDataViewAddIn.GPAddIn.Initialize() in ------
at Microsoft.Dexterity.Bridge.AddinManager.LoadAddin(String name, Type type, Boolean checkPlatformAttribute, Int32 currentDexPlatform)

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 10,996 User Group Leader on at
    RE: Updating GPAddin from 18.3 to 18.4

    Did you upgrade your modification from 18.3 to  18.4 too before creating the assemblies from dag?

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,837 Moderator on at
    RE: Updating GPAddin from 18.3 to 18.4

    Hi Tim

    Looks like you will need to update the references to the Application.Dynamics.dll to 18.4 and recompile.

    Do you have the source code?

    Regards

    David

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…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans