I have been encountering issues with a custom WCF service deployed to SharePoint 2010. I'm receiving the following error when trying to import some data into the client:
'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. '.
I have attempted to make a number of changes using the mechanism outlined on http://shaunedonohue.blogspot.com/2011/03/reader-quotas-for-wcf-services-in_4706.html, but I am still receiving this error - these quota settings do not seem to have bearing on the MaxItemsInObjectGraph setting. Changing this setting in the ServiceBehaviour attribute of the service does not seem to work either.
Has anyone encountered this issue before?