GP 18.4 YE Update – Error – An Error while loading or initializing an addin.
-
GP 18.4 YE Update – Error – An Error while loading or initializing an addin.
Posted by Heidi-Farnham on December 6, 2021 at 4:43 pm-
After updating GP to v18.4 YE, as soon as I log into GP I get the following message:
** An Error while loading or initializing an addin. Ask your administrator to check the Windows event log for more details. Dynamics will not close>
Event Viewer shows the following:
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 BIReportDeploymentGP.
Exception Details:
System.ArgumentException: Data type PB_New does not exist in the dictionary.
Parameter name: datatypeName
at Microsoft.Dexterity.Bridge.DictionaryRoot.LoadDataType(String datatypeName)
at Microsoft.Dexterity.Bridge.BaseNamedCollection`1.get_Item(String elementName)
at Microsoft.Dexterity.Bridge.FieldBase.CreateInstance(RMField* rmField, String name, DictionaryElement parent, GetFullNameCallback getFullNameStrategy, Boolean isRaisingEvents, Int32 arraySize, Boolean fullNameShouldHaveIndex)
at Microsoft.Dexterity.Bridge.Window.LoadField(RMWindowField* windowField)
at Microsoft.Dexterity.Bridge.Window.LoadAllFields(RMWindow* rmWindow)
at Microsoft.Dexterity.Bridge.Window..ctor(String name, DictionaryForm parent, RMWindow* rmWindow)
at Microsoft.Dexterity.Bridge.DictionaryForm.LoadAllWindows(RMForm* rmForm)
at Microsoft.Dexterity.Bridge.DictionaryForm..ctor(String name, DictionaryRoot root, RMForm* rmForm, Int16 formId)
at Microsoft.Dexterity.Bridge.DictionaryRoot.LoadForm(String formName)
at Microsoft.Dexterity.Bridge.BaseNamedCollection`1.get_Item(String elementName)
at Microsoft.Dexterity.Applications.SmartListDictionary.AsiExplorerForm..ctor()
at Microsoft.Dexterity.Applications.SmartListDictionary.AsiExplorerForm.get_Instance()
at Microsoft.Dynamics.GP.BusinessIntelligence.BIReportDeploymentGP.BIReportDeploymentGPAddin.Initialize()
at Microsoft.Dexterity.Bridge.AddinManager.LoadAddin(String name, Type type, Boolean checkPlatformAttribute, Int32 currentDexPlatform)the message resource is present but the message is not found in the string/message table
I have used ** to highlight what appears to be the most useful messages.
Please let me know if you have any thoughts on how to resolve this issue.
Heidi
——————————
Heidi Farnham
Dungarvin
Mendota Heights MN
—————————— -
It looks like this may be report related.Ā When I removed the reports and forms dictionaries, I was able to get in to GP.
——————————
Heidi Farnham
Dungarvin
Mendota Heights MN
——————————
——————————————- -
This looks to be related to a Power BI customization (BIReportDeploymentGP?) that’s linked to a custom form that has some object named PB_New that can’t be found.
A couple of things you can check:
1) When your upgrade was done, make sure that you ran the step in Dynamics Utilities to “Update Modified Forms and Reports”. This may update your custom dictionaries to reflect the new features of GP along with your previous customizations. This needs to be done on every workstation.
2) if you don’t use or don’t know what the customization is, you can look in your addins folder in the GP installation folder (i.e. C:Program Files (x86)Microsoft DynamicsGPAddIns), and look for a .dll file that has something to do with power bi.Ā you can rename the extension to something like ‘.dllx’, and restart GP. This will prevent the addin from trying to load when you open GP.
3) Check to see if you have a file named Application.Dynamics.ModifiedForms.dll in your GP C:Program Files (x86)Microsoft DynamicsGP.Ā A developer may have created this to work with the custom addin. We just upgraded from 18.3 to 18.4 and needed to update ours for the new version.Ā You can use the Dag utility to update it – despite the version# the tool should operate the same. ((5) DAG (Dictionary Assembly Generator) ā What’s New in GP 2015 – Microsoft Dynamics GP Community).Make sure to have backups before trying this option.
4) Also check your customized forms and reports – Dynamics GP | Tools | Customize | Customization Maintenance.Ā There you can see which forms and reports have been customized that may either jog your memory as to which form or report has the customization, or look at differences between other workstations and see if maybe that customized object just needs to be imported on your workstation.
——————————
Jeff Woodard
Chief Technical Officer
Transportation Financial Services, Inc.
West Palm Beach FL
——————————
——————————————- -
Jeff,
Thank you for the thorough list!
I recreated GP forms and reports and that resolved the issue.
Happy Holidays,
Heidi——————————
Heidi Farnham
Dungarvin
Mendota Heights MN
——————————
——————————————-
Heidi-Farnham replied 4 years, 7 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘GP 18.4 YE Update – Error – An Error while loading or initializing an addin.’ is closed to new replies.