Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

System.Collections.Generic.KeyNotFoundException

Posted on by Microsoft Employee

Hi, I am getting this error specifically on Create of my Funds Application custom entity.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Collections.Generic.KeyNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C4ABB28EDetail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>224e7512-ffc8-454d-94ad-18a083f96170</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>System.Collections.Generic.KeyNotFoundException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C4ABB28E</Message>
  <Timestamp>2017-09-06T03:25:27.1507094Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

I have disabled ALL Steps of Plugins in the system. All Javascript looking at or on this Entity have been disabled. Workflows and Business Rules have also been disabled.

Is there a way to find out where to problem is coming from? I'm using a demo version of Dynamics 365 and this error only happened today. Please, any help would be great.

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System.Collections.Generic.KeyNotFoundException

    Found the issue. Status Reason was changed. "Changed" being it's Option Set(?) deleted and readded into the system. However this seemed to ruin Status' Mapping towards it.

    We've changed the Value back to the old one but it seems that Mapping has been lost forever. A simple Business Rule/Javascript/Workflow to set it should be enough to fix it.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans