Skip to main content
Version: On prem: 15.0.0

Web.config configuration settings

The Web.config file allows you to configure several of the Enterprise Server settings that can either be set in the config file or in the Windows Registry.

info

Please bear in mind that the PswEncryptionKey setting is still recommended to be set in the registry.

Due to the broad use of the key, the PswEncryptionKey setting is stored under a different Registry path than the other settings. It can be found at HKEY_LOCAL_MACHINE\SOFTWARE\Omada\Omada Identity Suite. Values of the settings set in the registry take precedence over the values in the config file.

The table below presents the settings available to be set in the Web.config file:

SettingTypeDescription
PswEncryptionKeyStringSpecifies the encryption key used to encrypt and decrypt strings. It is important that the key is the same as you use for Omada Provisioning Service.
ConnStrStringSpecifies the connection string to the ES SQL database. If you host several environments on the same machine, this should point to the master database.
SolutionNameStringSpecifies the value of the solution name presented in the web page title.
CommandTimeoutIntegerSpecifies the timeout (number of seconds) for certain SQL commands.
LoadBalancerNodeEnabledIntegerSpecifies the response returned by the Loadbalancer page. Possible values are 0 and 1.
SessionTimeoutIntegerSpecifies the authentication timeout (number of minutes) for Forms and SAML/OpenID logon.

The settings should be configured as follows:

<appSettings>
<add key="ConnStr" value=""/>
<add key="CommandTimeout" value=""/>
<add key="SolutionName" value=""/>
<add key="LoadBalancerNodeEnabled" value=""/>
<add key="SessionTimeout" value=""/>
<add key="PswEncryptionKey" value=""/>
</appSettings>

These settings can also be set via the Omada.OE.Service.config file for the timer service.