Check this.
http://forums.lhotka.net/forums/t/11235.aspx[
^]
and this is how i solved it
In client side added a behavior configuration.
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="maxItems">
<dataContractSerializer maxItemsInObjectGraph="2147483646"/>
</behavior>
</endpointBehaviors>
</behaviors>
and give this behavior configuration in End point
and in server side
<behavior name="ServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
and added this behavior to the service endpoint.. try this