Resolving WCF Quota Errors

Follow

JAMS Admins


In this article, advanced JAMS users who have permissions to edit configuration files will learn how to resolve WCF quota errors seen in the Projected Schedule View and Reports. These errors occur when there are a large number of Projected Schedule results returned.

 


How to resolve WCF quota errors associated with a large number of Projected Schedule results

When running the Projected Schedule for multiple days, or in an environment with a heavy load, you may receive an error such as:

  • One or more errors occurred
  • The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown, or an internal server error.

The error generally indicates that the data returned from the server exceeds the WCF quota limit allowed by the Client.

This limit can be adjusted, on a per-client basis, using the following steps:

  1. Within the Client directory where JAMS is installed, open JAMSDesktop.exe.config
  2. Locate the JAMSServerBinding and increase the value of these attributes:
    • maxReceivedMessageSize
    • maxBufferSize
    • maxBufferPoolSize

maxbuffersize_formatted.png

Note: When increasing the quota value, set the three attributes to the same value.

You may also see the following error:

This request operation sent to net.tcp://10.0.0.57:773/ScheduleWCF70 did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

 

This error indicates that the operation exceeds the Client's timeout.

This limit can be adjusted on a per-client basis using the following steps:

    1. Within the Client directory where JAMS is installed, open JAMSDesktop.exe.config.
    2. Locate JAMSServerBinding and increase the value of the sendTimeout attribute.

Note: The Client must be restarted to pick-up any changes to this file.

 

 

Have more questions? Submit a request

Comments