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

AVEVA™ E3D Design

Massive Base Product Projects

  • Last UpdatedJan 13, 2022
  • 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>

The endpoint behaviour for DataContractSerializer is also required in GlobalWcfClient.config as well as in admindWCF.exe.config. For other settings which may also need increasing, refer to Buffer Too Small for further information.

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