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 :
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:
I have the same question (0)
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    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

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans