EDP.exe.config

<< Click to Display Table of Contents >>

EQuIS 7  >>  Configuration > App Config Files >

EDP.exe.config

EDP.exe.config manages application configuration settings for the Stand Alone edition of EQuIS Data Processor. The default version of this file is included below.

 

The appSettings remoteFolder, userName, password, updateFrequency and lastUpdate manage an optional feature for clients wishing to distribute updates to EDP.exe formats from a central location managed by the client. The feature requires that users have the ability to modify installed programs and files.

 

EdpAllowEdit provides the ability to prevent users from modifying/editing EDDs. The default value is True. Valid values are "", "True", "False".

Add "False" to the entry as seen in the example below to prevent any edits to the data in EDP.

 

<add key="EdpAllowEdit" value="False"/>

 

useNetworkLicense determines how EDP.exe will search for licenses when opening a format definition. Valid values are False and Config with a default value of False. Setting this to True will result in a long delay followed by errors since EDP is attempting to acquire network licenses without a network connection.  When set to false, licenses are assumed to be issued to the workstation and managed in the application's Registration form.

 

EDP.exe may consume network licenses by setting useNetworkLicense to config and adding a connection string entry like the one shown below between the configSections closing element and the startup opening element. The name attribute MUST be set to databaseConnection. Set the value of connectionString and providerName as appropriate (see connectionStrings.config for more information on setting connection strings). If the user has permission to modify EDP.exe.config at run time (may require Run as Administrator) then the connection string will be encrypted. This encrypted value may be copied to end user workstations allowing them to consume EQuIS network licenses without compromising the credentials used to connect to the database.

 

  </configSections>

    <connectionStrings>

  <clear/>

 <add name="databaseConnection" connectionString="Data Source=;User ID=;Password=;Database=;pooling=true;Connection Timeout=600;" providerName="EarthSoft.Common.Data.SqlConnection" />

    </connectionStrings>

  <startup>

 

 

Default content of edp.exe.config

 

<?xml version="1.0"?>

<configuration>

 <configSections>

 </configSections>

 <startup>

 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>

 <appSettings>

         <!-- these values are used for auto update:

                  remoteFolder: the URL to check for updates

                  userName: the username of the EarthSoft client account

                  password: the password of the EarthSoft client account

                  updateFrequency: how often to check for updates:  -1=never; 0=always; X=every X days

                  lastUpdate: the last time auto update was run on this machine

          -->

         <add key="remoteFolder" value="http://www.myserver.com/edp/"/>

         <add key="userName" value=""/>

         <add key="password" value=""/>

         <add key="updateFrequency" value="-1"/>

         <add key="lastUpdate" value="1900-01-01 00:00:00"/>

         <!-- 

                 useNetworkLicenses: Control the use of local licenses and network licenses.

                         Network licenses are only available when connected to an EQuIS database.

                         The default value is True.  

                         False = do not attempt to consume a network license, licenses must be installed locally

                         True  = Attempt to consume a network license before checking for local licenses.

         -->

         <add key="useNetworkLicenses" value="False"/>

 

         <add key="EdpAllowEdit" value=""/>

 </appSettings>

</configuration>