Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Massive Base Product Projects

  • Last UpdatedNov 27, 2025
  • 1 minute read

Error description:

In some situations the below error can occur while working with massive base product projects with a large number of databases (of more than 5000).

"Failed send Reply to HUB: There was an error while trying to serialize parameter http://tempuri.org/:results. The InnerException message was '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 '."

Solution:

Double the quota for the MaxItemsInObjectGraph attribute. Refer to the table for suggested values. The minimum size for this attribute is 64KB (65536 bytes) and Maximum allowed value is 2 GB (2147483647 bytes).

<behaviors>

  <endpointBehaviors>

    <behavior name="ValidationBehavior">

      <dataContractSerializer maxItemsInObjectGraph=" 1048576"/>

      <validation enabled="true" ruleset="RuleSetA" />

    </behavior>

  </endpointBehaviors>

  <serviceBehaviors>

    <behavior name="GlobalWcfServiceBehavior">

      <dataContractSerializer maxItemsInObjectGraph="1048576"/>

      <serviceMetadata httpGetEnabled="true" />

      <serviceDebug includeExceptionDetailInFaults="true" />

    </behavior>

  </serviceBehaviors>

</behaviors>

Related Links
TitleResults for “How to create a CRG?”Also Available in