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

Community site session details

Session Id :

Incorrect attribute value type System.String in Dynamics 365 (CRM)

Nishant Rana Profile Picture Nishant Rana 11,325 Microsoft Employee

We were getting the below error while creating an entity record through a C# Console Application.

This occurred because the code was trying to set string value to one of the decimal type field.

Parsing the string value to decimal and then setting it fixed it.

Hope it helps


Filed under: CRM, Dynamics 365, Microsoft Dynamics 365, Microsoft Dynamics CRM Tagged: CRM, Dynamics 365, Microsoft Dynamics 365, Microsoft Dynamics CRM

This was originally posted here.

Comments

*This post is locked for comments