Sep 11, 2009

Error in WCF with tons of objects

Two interesting errors relating to essenially the same thing:





  1. There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).




  2. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter SomeAssembly.SomeObject:MethodNameResult. The InnerException message was ‘Maximum number of items that can be serialized or deserialized in an object graph is ‘524288’. Change the object graph or increase the MaxItemsInObjectGraph quota. ‘. Please see InnerException for more details.




The second one is the same as the first, except it relates to the ServiceBahvior, and the first is associated with EndpointBehavior. Both of these are configured server side.

No comments:

Post a Comment