Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / xrm CRM Dynamics / {Dynamics CRM Error} The fo...

{Dynamics CRM Error} The formatter threw an exception while trying to deserialize the message

Bipin D365 Profile Picture Bipin D365 28,958 Moderator
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.

Comments

*This post is locked for comments