Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
'Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota
Posted
Updated 9-May-14 2:05am
v2
Comments
[no name] 9-May-14 8:26am    
Is there a question in here anywhere?
chetna2810 9-May-14 8:42am    
http://stackoverflow.com/questions/17882574/wcf-maximum-number-of-items-that-can-be-serialized-or-deserialized-in-an-object

Similar Question was already asked on the above link but the solution is not written there..
[no name] 9-May-14 8:53am    
Okay and so what does that have to do with anything?

1 solution

web.config

XML
<behavior name="ServiceBehaivor">
  <serviceMetadata httpGetEnabled="true"/>
  <serviceDebug includeExceptionDetailInFaults="true"/>
  <serviceThrottling maxConcurrentCalls="2147483647" />
  <dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>


JAFC
 
Share this answer
 
Comments
RaisKazi 9-May-14 14:14pm    
My 5.
José Amílcar Casimiro 9-May-14 14:39pm    
Thanks.
chetna2810 10-May-14 2:41am    
I have already done so but still having the error..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900