An Exception of Type System.ServiceModel.CommunicationException Occurred

Rich Internet application (RIA) such as Silverlight Web business tools included in the Solution Storefront send out a "get authorization" request when opening. This allows to fetch the metadata for all catalog properties in order to build validation rules based on the return values. When the amount of catalog properties returned exceeds the configured value for the maximum number of items that can be serialized (WCF parameter MaxItemsInObjectGraph), an exception of type "System.ServiceModel.CommunicationException" occurs, with an InnerException message indicating: "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".

To fix or to avoid this condition, set the MaxItemsInObjectGraph parameter to a value that is appropriate for the size of your catalog. By default, this parameter value is set to 65536.

For more information about setting the WCF MaxItemsInObjectGraph attribute, see https://go.microsoft.com/fwlink/?LinkId=215267.

See Also

Other Resources

Troubleshooting the Catalog System

Performance Considerations in the Catalog System