Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Configuration Error When Logging Gift

Posted on by 17

I get the following error when attempting to log a Gift to Organizations, etc. Everything else appears to function normally. Any help appreciated! There is no background on this, Virtual Help doesn't help, and no real info anywhere on the Net or in MS.

Exception Message: User does not have a Configuration record and no Configuration record has been set as the Default.

ErrorCode: -2147220956
HexErrorCode: 0x80040224

HelpLink: go.microsoft.com/.../

TraceText:
[FundraisingandEngagement: Plugins.AccountCreate]
[342f969a-78a2-ea11-a812-000d3a0c94a6: Plugins.AccountCreate: Create of account]


Entered Plugins.AccountCreate.Execute(), Correlation Id: ecc1f7d3-acb3-4005-9742-ca10720ca99c, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb
---------Triggered AccountCreate.cs---------
User does not have a Configuration Record. Retrieving Default Configuration Record
Exception: System.Exception: User does not have a Configuration record and no Configuration record has been set as the Default.
at Plugins.PaymentProcesses.Utilities.GetConfigurationRecordByUser(IExecutionContext context, IOrganizationService service, ITracingService tracingService, ColumnSet columns)
at Plugins.AccountCreate.ExecuteCrmPlugin(LocalPluginContext localContext)
at Plugins.PluginBase.Execute(IServiceProvider serviceProvider), Correlation Id: ecc1f7d3-acb3-4005-9742-ca10720ca99c, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb
Exiting Plugins.AccountCreate.Execute(), Correlation Id: ecc1f7d3-acb3-4005-9742-ca10720ca99c, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb

Activity Id: 3de526c8-7d2d-4059-90f8-4b44a40a5ce2

  • FRER Profile Picture
    FRER 17 on at
    RE: Configuration Error When Logging Gift
  • Verified answer
    RE: Configuration Error When Logging Gift

    Hi,

    You need to check if you have configuration record set to your user in dynamics and check if you have a payment processor set in the configuration record.

    To check configuration record association, it is needed to go to Settings -> Advanced Settings -> Settings tab -> Security -> Users -> Find user -> Click on username -> Select Fundraising and Engagement User - > Check associated configuration record. In the configuration field it is needed to select config record and save.
     

    Config.png_2D00_640x480.png

    To check associated payment processor, go to application, then Configuration and check Payment Processor field.

    Payment-processor.png

     

     

  • FRER Profile Picture
    FRER 17 on at
    RE: Configuration Error When Logging Gift

    Would appreciate ANY info you might be able to come across on the issue and am extremely thankful for your time!

  • RE: Configuration Error When Logging Gift

    You are right. I just tried it out with a fresh instance. We already solved this topic, but i have to dig a bit deeper in the configuration and my memory.

  • FRER Profile Picture
    FRER 17 on at
    RE: Configuration Error When Logging Gift

    Appreciate the reply. No joy. I have a configuration set up called Main. It is "Activated" and still produces the error. It should be noted that the "GIFT SYNC RIBBON BUTTON CONFIGURATION" is not set up as I have no idea where to find the URL. I do have root access as I set up AZ for Ubuntu (I run Linux).

    Thanks!

    Screenshot-from-2022_2D00_08_2D00_23-15_2D00_41_2D00_32.png

    Screenshot-from-2022_2D00_08_2D00_23-15_2D00_41_2D00_05.png

    Screenshot-from-2022_2D00_08_2D00_23-15_2D00_40_2D00_33.png

  • Suggested answer
    RE: Configuration Error When Logging Gift

    This is a common error message after pure setup.

    You have to create a configuration record in the configuration area.

    Here you have to create a configuration (+ sign) and usually mark it as the default.

    pastedimage1661280138340v1.png

  • FRER Profile Picture
    FRER 17 on at
    RE: Configuration Error When Logging Gift

    And as a final note, if you attempt to edit the Gift/Transaction it triggers this and keeps the Processing in a perpetual mode never changing:

    An unexpected error occurred from ISV code nonprofit

    Error code: 0x80040224Session Id: 2d7c59c7-8b2d-4af3-81cf-4ef7a48f3b55Activity Id: 368228f8-450b-4014-a540-1a2bbf29fb77Time: Sun Aug 21 2022 15:19:17 GMT-0400 (Eastern Daylight Time)

    Exception Message: No configuration record found on this record (bf620c50-8221-ed11-b83e-000d3a3528e1). Please ensure the record has a configuration record attached.

    ErrorCode: -2147220956
    HexErrorCode: 0x80040224

    HelpLink: go.microsoft.com/.../

    TraceText:
    [FundraisingandEngagement: Plugins.TransactionGiftCreate]
    [d385fefc-95a2-ea11-a812-000d3a0c94a6: Plugins.TransactionGiftCreate: Update of msnfp_transaction]


    Entered Plugins.TransactionGiftCreate.Execute(), Correlation Id: d54790aa-c778-41d0-bad4-88817a24a4df, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb
    ---------Triggered TransactionGiftCreate.cs---------
    Exception: System.Exception: No configuration record found on this record (bf620c50-8221-ed11-b83e-000d3a3528e1). Please ensure the record has a configuration record attached.
    at Plugins.PaymentProcesses.Utilities.GetConfigurationRecordByMessageName(IPluginExecutionContext context, IOrganizationService service, ITracingService tracingService)
    at Plugins.TransactionGiftCreate.HandleUpdateOrCreate(LocalPluginContext localContext, Entity targetTransaction)
    at Plugins.TransactionGiftCreate.ExecuteCrmPlugin(LocalPluginContext localContext)
    at Plugins.PluginBase.Execute(IServiceProvider serviceProvider), Correlation Id: d54790aa-c778-41d0-bad4-88817a24a4df, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb
    Exiting Plugins.TransactionGiftCreate.Execute(), Correlation Id: d54790aa-c778-41d0-bad4-88817a24a4df, Initiating User: 729ae9bf-630b-ed11-82e5-00224803a6cb

    Activity Id: 6abbaa08-deb5-4ff6-be36-845b4b38e030

    Screenshot-from-2022_2D00_08_2D00_21-15_2D00_22_2D00_23.png

  • FRER Profile Picture
    FRER 17 on at
    RE: Configuration Error When Logging Gift

    So, here is some interesting notes on this. If I simply "x" out of the error, it allows me to manually upload information and records it as seen in the screenshots below. However, when I hit the Process Button, after manually entering the Gift/Transaction, it triggers yet another error: below. Once again, none of this appears to impact my entering of the Gift/Transaction. It should be noted that I currently do not have a Payment Processor activated as I am working on an API for iATS which Microsoft says exists, but does not. A side note on this is that it seems to be pretty poor planning to only have a Canadian and For Profit with heafty fee Stripe processor when dozens are available in virtually all other platforms. I guess it goes hand-in-hand with the belief that everyone can afford the $20K fees that the Third Party folks want to deploy of which we took a pass.

    Thanks for any help!

    TypeError: Cannot read properties of undefined (reading '0')
    at msnfp.loadConfiguration (org8b17cd74.crm.dynamics.com/.../msnfp_transaction_form.js:530:51)
    at msnfp.Transaction.OnLoad (org8b17cd74.crm.dynamics.com/.../msnfp_transaction_form.js:114:15)
    at y._executeFunctionInternal (org8b17cd74.crm.dynamics.com/.../app.js
    at y.execute (org8b17cd74.crm.dynamics.com/.../app.js
    at org8b17cd74.crm.dynamics.com/.../app.js
    at i (org8b17cd74.crm.dynamics.com/.../app.js
    at ee._executeIndividualEvent (org8b17cd74.crm.dynamics.com/.../app.js
    at ee._executeEventHandler (org8b17cd74.crm.dynamics.com/.../app.js
    at Object.execute (org8b17cd74.crm.dynamics.com/.../app.js
    at N._executeSyncAction (org8b17cd74.crm.dynamics.com/.../app.js

    Error Details:
    Event Name: onload
    Function Name: msnfp.Transaction.OnLoad
    Web Resource Name: msnfp_/scripts/msnfp_transaction_form.js
    Solution Name: FundraisingandEngagement
    Publisher Name: microsofttechforsocialimpact

    Screenshot-from-2022_2D00_08_2D00_21-14_2D00_56_2D00_04.png

    Screenshot-from-2022_2D00_08_2D00_21-14_2D00_52_2D00_04.png

    Screenshot-from-2022_2D00_08_2D00_21-14_2D00_31_2D00_56.png

    Screenshot-from-2022_2D00_08_2D00_21-14_2D00_35_2D00_23.png

    Screenshot-from-2022_2D00_08_2D00_21-14_2D00_56_2D00_34.png

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans