Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

Posted on by Microsoft Employee

The full error is... An error occurred while loading or initializing an addin.  Ask your administrator to check the Windows event log for more details.  Dynamics will now close.

Here is the windows event log...

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 DocAttach.

Exception Details:
System.MissingMethodException: Method not found: 'IsFileReadOnlyFunction FormFunctions.get_IsFileReadOnly()'.
at Microsoft.Dynamics.GP.DocAttach.GPAddIn.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

Things I have tried to do:

Restore backup and reinstall - Did not work

Remove the DocAttach and Bridge DLLs and reinstalled - Did not work

Did a repair on my .Net Framework - Did not work

*This post is locked for comments

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    Cate,

    That sounds like a lot of DLL's in the Addins folder... On my GP2016R2 instance, I've 14 files, from which half are from 3rd-party apps, the reminder being default setup files from GP..

    I'm wondering about your error message regarding the DocAttach.GPAddIn & Bridge.AddInManager references.. Are you using a 3rd-party document management tool ?  I'd open a call with the ISV support team if that's the case, because I don't think this is a native GP issue.. Like Kirk said, my feeling goes towards a file access/load permission issue.

  • KirkLivermont Profile Picture
    KirkLivermont 5,985 on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    Cate,

    I agree with Béat that this sounds like a Windows Permissions issue. If I was in this situation I would use Process Monitor to trace what file(s) were having access denied. docs.microsoft.com/.../procmon

    Best regards,

    Kirk

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    I did check the Addins folder and there are 67 items of which 58 are our 3rd Party DLLs.  The DLLs that I don't know what they are, are as follows:  

    edtFTPnetPRO.dll

    FileHelpers.dll

    GPConnNet.dll

    InventoryActualUsage.dll

    LogFile.dll

    LumenWorks.Framework.IO.dll

    MicrosoftDynamics.GP.PreviewPane.dll

    ProductmovementReport.dll

    SqlUtilities.dll

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    Sorry if I misspelled the folder name.. which should be 'Addins' (not Addon), and that folder usually contains at least 4 DLL's and depending on your 3rd party products, could be several more, bout I doubt that it's that much as you reported..

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    I have 67 files of which 59 are 3rd Party DLLs

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    Can you please check your Addon folder in GP and list how many files are in there ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    I have full Admim rights to the VM, I installed the update with elevated Admin privileges and I started GP client with Admin mode permission and I still get the error.  Why can I run Dyn Utilities without an issue yet I can't open the program?

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: GP 2016 - Upgrading to Year End MicrosoftDynamicsGP16-KB4046341-ENU An error occurred while loading or initializing an addin - Can't login to GP

    Hi Cate,

    Sounds like an OS permission issue.. How did you apply the service pack ? was it installed with elevated Admin privileges ? Do you start the GP client with Admin mode permission ?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans