Open Forum

Expand all | Collapse all

Disable DynamicsOnline - GP2016

  • 1.  Disable DynamicsOnline - GP2016

    Posted Jun 07, 2019 10:43 AM
    A client is running a GP 2016.00.0552 client on a test server and getting an error "An exception occurred while trying to load or initialize the addin located at OnlineServices" recorded in the Application Event Log.  I have followed several KB and discussions on this site, however all refer to removing the product from the .set file in addition to removing the .dll and dictionaries.  The product is NOT included in the .set file, and I have removed a DOxxxx.dic in the root GP 2016 folder even though it's not called.  What is still seeing the product?
    Full error from the Application 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 OnlineServices.

    Exception Details:
    System.TypeInitializationException: The type initializer for 'Microsoft.Dexterity.Applications.root' threw an exception. ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: productId
    at Microsoft.Dexterity.Bridge.DictionaryRoot.InitCookieInternal(DS_COOKIE* cookie, Int32 productId, Boolean isFormsDictionary)
    at Microsoft.Dexterity.Bridge.DictionaryRoot.InitCookie()
    at Microsoft.Dexterity.Bridge.DictionaryRoot.Init(String path, Int32 productId, Boolean isFormsDictionary, Boolean openForCodeGeneration)
    at Microsoft.Dexterity.Bridge.DictionaryRoot..ctor(Int32 productId, Boolean isFormsDictionary)
    at Microsoft.Dexterity.Applications.root..cctor()
    --- End of inner exception stack trace ---
    at Microsoft.Dexterity.Applications.DynamicsOnlineServicesDictionary.DummyPaymentServicesForm..ctor()
    at Microsoft.Dexterity.Applications.DynamicsOnlineServicesDictionary.DummyPaymentServicesForm.get_Instance()
    at Microsoft.Dynamics.GP.OnlineServices.PaymentServices.registerEvents()
    at Microsoft.Dynamics.GP.OnlineServices.PaymentServices.Initialize()
    at Microsoft.Dynamics.GP.OnlineServices.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
    Thanks in advance for any insight on this.

    Charles Ray
    Senior Systems Specialist
    CAL Business Solutions, Inc.
    Harwinton CT
    Academy - Online Interactive Learning from Experts

  • 2.  RE: Disable DynamicsOnline - GP2016

    Posted Jun 10, 2019 02:29 AM
    Hi @Charles Ray

    If you have removed the dictionary references from the Dynamics.set launch file, you will also need to remove the following dlls from the application folder.

    Application.DynamicsOnlineServices.dll - The dictionary Assembly for the Dexterity dictionary
    Microsoft.Dynamics.GP.OnlineServices.dll - Additional Visual Studio code that is trying to reference the dictionary and so generating errors.

    Once these have been removed you should be OK.



    David Musgrave MVP, GPUG All-Star

    Managing Director
    Winthrop Development Consultants

    Perth, Western Australia

    Academy - Online Interactive Learning from Experts

If you've found this thread useful, dive deeper into User Group community content by role