Configuring Responder/Smart Grid
Configure WCF to Use Reliable Sessions

Version: 10.1

Resource Center Home

If a momentary outage occurs, the user will likely see an exception almost immediately from WCF (Windows Communication Foundation) services (i.e., Configuration Service, State Service, Event Service). However, you can configure these services to use reliable sessions. If you have reliable sessions enabled, the exception will not be raised until a configurable amount of time has passed. This eliminates exceptions due to momentary outages.

You will need to modify the following configuration files:

Follow the steps outlined below in each configuration file listed above.

  1. Open the configuration file.
  2. Look for the following XML:
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
  1. Set the enabled parameter to true.
  2. Set the inactivityTimeout parameter to the amount of time the WCF service to wait before throwing an exception due to lack of connectivity with its client.
  3. Note that this XML may appear multiple times in a single configuration file. Make sure you modify all instances.
  4. Save and close the configuration file. Repeat these steps for all instances of the XML in step two in all configuration files listed above.

 


Send Comment to documentation@schneider-electric.com