none
WCF LOB SDK handling large data sets RRS feed

  • Question

  • I'm working on a binding using the WCF LOB SDK and receive the following error when returning results with a large number of records: "Maximum number of items that can be serialized or deserialized in an object graph is '65536'."  Searching this error, I've found references to increasing the MaxItemsInObjectGraph quota, but what I would actually like to do is implement some sort of paging rather than return the entire set of data in one call.  We might want to use the adapter to run through the entire table, for example.

    I tried the same thing using the Sql binding and it returns the same error (in my case, my search would have returned over 14000 records), so this seems to be a limitation of the SDK.  Has anyone else run into this?  I'm looking for suggestions on how to get around this.

    Thanks

    Friday, December 10, 2010 11:48 PM