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