{Dynamics CRM Error} The formatter threw an exception while trying to deserialize the message
Today while working one of the queryexpression code in my project I faced this issue. Error Details C# Code In FilterExpression I was taking value from enum for the StateCode field new ConditionExpression(IoTAlertProperties.StateCode, ConditionOperator.NotEqual, IotAlertStateCode.Inactive), To Fix this issue we need to add data type and provide valid cast object. new ConditionExpression(IoTAlertProperties.StateCode, ConditionOperator.NotEqual, (int)IotAlertStateCode.Inactive), Aletrnatively,… Continue reading {Dynamics CRM Error} The formatter threw an exception while trying to deserialize the message
This was originally posted here.
*This post is locked for comments