Skip to main content

Notifications

Customer Insights - Journeys forum

Unexpected Error occurs on Quick Create of Contact's save

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

On Lead form I've one BPF, inside that I've a contact lookup, while creating new contact from that lookup, quick create form opens and while saving from quick create I'm getting unexpected error shown below.

8640.Unexpected-Error.png

Also, Error details are as follows.

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: #04D0F63FDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>286034a0-233b-4b4c-8404-44286eb0b47a</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: #04D0F63F</Message>
<Timestamp>2018-01-03T10:31:46.7732198Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Note:

1) All plugin steps on save of Contact has been disabled while testing.

2) All javascripts OnLoad and OnSave of Contact form has been disabled while testing.

3) All javascripts OnLoad and OnSave of Contact Quick Create form has been disabled while testing.

4) All Processes of Contact has been deactivated while testing.



Thanks in advance !

Bhayani

Categories:
  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    I found the workaround for this. It was relationship issue. Likewise, Status field wrongly mapped with Status Reason.

    Thanks & Regards

    Poojan Bhayani

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    Hi Bhayani,

    I think your best chance for a resolutions is to reach out to MS Support.

    Regards,

    Radu

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    Hi Guillaume,

    Did the same and not able to get this "Unexpected Error" on Save from Main Form or a clone one. Even though tried by creating one more Quick Create Form and in that put only two fields "First Name" and "Last Name" and move this Quick Create Form at the higher priority. Still no luck.

    Thanks & Regards,

    Poojan Bhayani

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    Hi Radu,


    It's Online


    Thanks & Regards,

    Bhayani

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    Hi,

    what you could also do is deactivate quick create for contact and try again with creating a contact with the "normal" form.

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Unexpected Error occurs on Quick Create of Contact's save

    Hi Bhayani,

    Given the fact that the error is generic, it's pretty hard for me to provide some precise pointers at this point. Besides Plug-ins do you have any workflows / Business Rules against the contact entity?

    To give some hints, i personally would need a call stack of the error. Is this CRM Online or OnPremise?

    If it is OnPremise, could you please enable a set of CRM Platform traces and share the call stack of the exception.

    If it is Online - then best to reach out to MS Support for assistance.

    Hope this helps!

    Regards,

    Radu

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans