Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I'm deploying a plugin which operates on a custom entity in Dynamics CRM 2013. When the plugin fires, it throws an error which I don't know how to analyze. Can you please suggest what to look for?
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unexpected exception from plug-in (Execute): CRM2020.Plugins.FullNamePlugin: System.TypeLoadException: Inheritance security rules violated by type: 'Xrm.cust_import'. Derived types must either match the security accessibility of the base type or be less accessible.Detail: <OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts"> <ErrorCode>-2147220956</ErrorCode> <ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Unexpected exception from plug-in (Execute): CRM2020.Plugins.FullNamePlugin: System.TypeLoadException: Inheritance security rules violated by type: 'Xrm.cust_import'. Derived types must either match the security accessibility of the base type or be less accessible.</Message> <Timestamp>2020-09-23T15:43:48.8295639Z</Timestamp> <InnerFault i:nil="true" /> <TraceText>
[CRM2020.Plugins: CRM2020.Plugins.FullNamePlugin][92d59506-c4fc-ea11-8111-00155d00e237: CRM2020.Plugins.FullNamePlugin]
SOLVED - the plugin was registered in isolation mode set to "sandbox", which caused the error. Changing it to "None" worked
Business Applications communities