Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Updating GPAddin from 18.3 to 18.4

(0) ShareShare
ReportReport
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)

Categories:
  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 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,932 Most Valuable Professional 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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans