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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Plugin registration tool debug error thrown after moving plugins to Net 4.6.2

(0) ShareShare
ReportReport
Posted on by

I am having a problem debugging a plugin "Opportunities Pre Update" (Other plugins like Account are debugging okay), having set the profiling up, when I trigger it I get a business error (significant part below), it basically can't deserialize the object. I have checked and the Microsoft.Crm.Sdk.PRoxy.dll is the very latest and the plugin registration tool are the latest version - 9.0.2.12. Has anyone got any ideas of how to tackle this problem, I can't debug the plugin at all.

Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: System.Runtime.Serialization.SerializationException: Element 'schemas.datacontract.org/.../System.Collections.Generic:value' contains data from a type that maps to the name 'Microsoft.Crm.Sdk:OptionalParameter[]'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'OptionalParameter[]' and namespace 'Microsoft.Crm.Sdk'.

Thanks in Advance,

Rod

*This post is locked for comments

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
RichardM Profile Picture

RichardM 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans