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)

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

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