web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Unable to load/select "Display by Entity" or "Display by Message" on Plugin registration tool

(0) ShareShare
ReportReport
Posted on by 217

Hi All,

When i select the "Display by Entity" or "Display by Message" it throws error saying 

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.CreateCrmTreeNodes(CrmViewType view, Guid messageId, Guid messageEntityId, Boolean addToTree)
at Microsoft.Crm.Tools.PluginRegistration.OrganizationControlViewModel.LoadNodes(CrmViewType view, Boolean isSearch)

i think Key not found error  is because it is trying to send Guid messageId, Guid messageEntityId  to  this method "CreateCrmTreeNodes" which doesnt exist or something 

pastedimage1577945947783v1.png

Can anyone help me with this issue?

Thanks In advance

Sainath Pillanagrovi

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Unable to load/select "Display by Entity" or "Display by Message" on Plugin registration tool

    Hi partner,

    I tried in my registration  tool and everything worked well.

    My tool version is 9.1.0.10743.

    I suggest that you could reinstall the latest version tool and try again.

    pastedimage1577950359790v1.png

    pastedimage1577950378820v2.png

    You could download it from poweshell or xrmtoolbox.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/download-tools-nuget

    https://www.xrmtoolbox.com/plugins/Xrm.Sdk.PluginRegistration/

    Hope it helps.

    Best Regards,

    Leo

  • Sainath Pillanagrovi Profile Picture
    217 on at
    RE: Unable to load/select "Display by Entity" or "Display by Message" on Plugin registration tool

    Thanks for the response

    I have reinstalled the latest version of the Plugin Registration tool but still, it shows the same error 

  • Žarko Radevic Profile Picture
    4 on at
    RE: Unable to load/select "Display by Entity" or "Display by Message" on Plugin registration tool

    I am getting the same error, I assume it has to do with either organization version or some of my plugins, it is the same in XrmToolbox plugin and standalone tool. What is your org version?

  • Sainath Pillanagrovi Profile Picture
    217 on at
    RE: Unable to load/select "Display by Entity" or "Display by Message" on Plugin registration tool

    Raised the support ticket and they confirmed issue will be fixed in the latest Plugin registration tool.

    I am not able to repro the issue in latest tool  version 9.0.0.9512

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 130

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 118 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans