Quote:
The maximum read depth (200) has been exceeded ...
<readerQuotas maxDepth="200" ...
The error is telling you that the
maxDepth
is set to 200, and that isn't enough.
You need to set
maxDepth
to a higher value.
However, that seems like a ridiculously deeply nested object graph to send in a WCF request. You should double-check the data you're sending, to see if you can reduce the depth.
For example, if you were sending a linked list, the object graph would be as deep as the number of items in your list. If you converted it to a regular
List<T>
, or an array, then the object graph would be flat.