Resolving WCF Quota Errors

Follow

Note: In this article, advanced JAMS users with permissions to edit configuration files will learn how to resolve WCF quota errors seen in the Projected Schedule View and Reports.


What is a WCF Quota Error?

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.


WCF Quota Errors Associated with Timeouts

 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 the operation exceeds the Client's timeout.

Adjusting the Limit

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

 Within the Client directory where JAMS is installed, open JAMSDesktop.exe.config.

  1. Locate JAMSServerBinding and increase the values of the sendTimeout and recieveTimeout attributes. The recommended value is 00:10:00.   WCFChangingValue.png 

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



Note: If you are using the JAMSDBA utility, you can also adjust values in the JAMSServerBinding section in the JAMSDBA.exe.config file. By default, the file is located in C:\Program Files\MVPSI\JAMS\Scheduler. Update the JAMSServerBinding section using the same instructions shown above as for the JAMS Desktop Client.


Visit Microsoft for More Information

Have more questions? Submit a request

Comments