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 :
Microsoft Dynamics CRM (Archived)

The given key was not present in the dictionary

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I am the IT/Help desk person at a company and we are using CRM and seem to have some issues.

The first one, is when a user goes to choose a lead in CRM it gets stuck at the loading screen at "requesting data from server" and does not load.

I found out the fix for that is to just have them clear the cache and restart the browser, and that works but it's happened to multiple members of our sales team and at the same time. I would rather like to know if there's a specific issue that might be causing the cache to have a problem on the server side and if it's something I can look into via the admin panel OR have information to put into a support ticket.

The second one is this:

When user goes to qualify a lead this pop up occurs.

"Unexpected exception from plug in (execute):
M****CRMPlugins.QualifyLeadWorkFlowExtension:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary"

I'm looking more into ways to resolve this, but I'm still learning CRM along the way. Any help is greatly appreciated.

Thanks,

Trev

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    BadrinathB Profile Picture
    970 on at
    RE: The given key was not present in the dictionary

    For the first issue check the eventlogs for more information. Check if the services are running or not.

    For the second one it looks like your plugin/workflow is unable to find any attribute which is there in your condition.

    Check if your are trying to fetch value from any attribute which is null. You can use GetAttributeValue instead of directly accessing the attribute else check if the attribute is present or not using Attribute.Contains function

    crmentropy.blogspot.com.au/.../entitygetattributevalue-explained.html

    the other option is enable traces and debug your custom code plugin/workflow.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: The given key was not present in the dictionary

    Hi,

    This is the problem with the plugin you have registered in the CRM named QualifyLeadWorkFlowExtension.

    I think you are reading an attribute which does not exist or does not have value in the plugin code.

    See the links below.

    community.dynamics.com/.../the-given-key-was-not-present-in-the-dictionary-what-it-means-and-how-to-avoid-it

    crmtipsbyprm.wordpress.com/.../the-given-key-was-not-present-in-the-dictionary-dynamic-crm/

      

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans