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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans