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)

Business Process Error

(0) ShareShare
ReportReport
Posted on by

When I try to update some of the sub-grid entities on the lead or opportunity forms I get this error.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unexpected exception from plug-in (Execute): License.Plugins.LicenseVerification: System.TypeLoadException: Inheritance security rules violated while overriding member: 'Microsoft.Crm.Services.Utility.DeviceRegistrationFailedException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220956</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>Unexpected exception from plug-in (Execute): License.Plugins.LicenseVerification: System.TypeLoadException: Inheritance security rules violated while overriding member: 'Microsoft.Crm.Services.Utility.DeviceRegistrationFailedException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.</Message>
  <Timestamp>2015-03-11T06:38:14.9950883Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText>

[License.Plugins: License.Plugins.LicenseVerification]
[31c8684e-4f94-e211-b77f-00155dcd3905: License.Plugins.LicenseVerification: Associate of  any Entity]


</TraceText>
</OrganizationServiceFault>

*This post is locked for comments

  • Suggested answer
    Mithilesh Kumar Profile Picture
    on at
    RE: Business Process Error

    Hi Colkatol,

    Your Plugin registered to the Entities is creating the issue. The Plugin is

    "License.Plugins: License.Plugins.LicenseVerification".

    If you are using CRM Online use Plugin Profiler to debug the Code. You may use w3wp Process for On Premise deployment.

    Debugging using Plugin Profiler

    support.microsoft.com/.../2778280

    Using w3wp Process

    blogs.msdn.com/.../attaching-debugger-to-w3wp-exe-using-nice-and-easy-keyboard-shortcut.aspx

    Hope that helps

    Thanks

  • Community Member Profile Picture
    on at
    RE: Business Process Error

    Thanks, will work on this.

  • Mahendar Pal Profile Picture
    on at
    RE: Business Process Error

    Are you using early bound class in your CRM Online plugin or any server side logic where you have used Device registration class that comes with CRM SDK ??, it seems there is something wrong with the Device Registration "Microsoft.Crm.Services.Utility.DeviceRegistrationFailedException.GetObjectData" you may try to get latest SDK and use updated class from there.

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)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans