Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

DataContractResolver to return a non-null value for name 'int' and namespace ''.'. .

$
0
0

We are getting one error in adding extra field. 

The InnerException message was 'Error in line 1 position 10969. Element 'schemas.datacontract.org/.../System.Collections.Generic:value' contains data from a type that maps to the name ':int'. 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 'int' and namespace ''.'. .

Note: I am getting All integer fields same error. 

Sample code:

<a:KeyValuePairOfstringanyType>
<b:key>yearyouwanttojoin</b:key>
<b:value i:type="c:int">2018</b:value>
</a:KeyValuePairOfstringanyType>

 

What is the exact issue here?

Thanks in Advance.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>