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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.

(0) ShareShare
ReportReport
Posted on by

Hi,

Currently I am working in Dynamics 365. I created a plugin and uploaded for lead(Post Operation). when I tried created the lead it shows Two types of exceptions

1. System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.

2. Generic SQL error.

   

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>98c8caae-1fc1-4742-8410-92a8777d6512</ActivityId>
<ErrorCode>-2147204784</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Generic SQL error.</Message>
<Timestamp>2018-03-13T17:10:31.7571437Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

can any one please suggest me how to fix this issue. Its very urgent for me.

 Thanks in Advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Michel van den Brink Profile Picture
    4,697 on at

    Hello,

    This is a pretty common error. You are using a specific Linq extension method which was introduced in .NET 4.6.

    The server where your plug-in as been provisioned will throw this Exception when .NET 4.6 is not installed.

    (some Dynamics 365 Online servers are a little slow on updates, especially when you have not yet upgraded to Dynamics 365 v8.2)

      

    Try recompiling your plug-in project on .NET 4.5.2 and update your plug-ins in the organization.

      

    Reference:
    https://stackoverflow.com/questions/31253747/method-not-found-0-system-array-empty-asapp-bundleconfig-registerbundl 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans