The viNetworkService.exe.config file is the default configuration file for .NET exes and has the specified format. There is a configuration section in the file for each of the different modules in the One Identity Manager Service.

NOTE: Entries are case-sensitive.

The root in the XML file is always called configuration. All other sections of the configuration file must be in the mandatory configSections section and their type must be defined. At the moment the program only supports the System.Configuration.NameValueSectionHandler section type.

<configuration>

<configSections>

<section name="sectionname" type="System.Configuration.NameValueSectionHandler" />

</configSections>

<sectionname>

...

</sectionname>

</configuration>

Example

Simple configuration with:

  • Direct connection to a SQL Server

  • Only one Job destination (JobProcessor)

<configuration>

<configSections>

<section name="serviceconfiguration" type="System.Configuration.NameValueSectionHandler" />

<section name="sqlprovider" type="System.Configuration.NameValueSectionHandler" />

<section name="filelogwriter" type="System.Configuration.NameValueSectionHandler" />

<section name="dispatcher" type="System.Configuration.NameValueSectionHandler" />

<section name="jobdestinations" type="System.Configuration.NameValueSectionHandler" />

<section name="queuex" type="System.Configuration.NameValueSectionHandler" />

<section name="plugins" type="System.Configuration.NameValueSectionHandler" />

</configSections>

<serviceconfiguration>

<add key="jobprovider" value="VI.JobService.MSSqlJobProvider,jobservice" />

<add key="logwriter" value="VI.JobService.FileLogWriter,jobservice" />

</serviceconfiguration>

<sqlprovider>

<add key="ConnectString" value="User ID=sa;initial Catalog=<Database>;Data Source=<SQL-Server>;Password=<Password>" />

</sqlprovider>

<filelogwriter>

<add key="LogLifeTime" value="0.01:00:00" />

<add key="LogSeverity" value="Info" />

</filelogwriter>

<dispatcher />

<jobdestinations>

<add key="QueueX" value="VI.JobService.JobServiceDestination,jobservice" />

</jobdestinations>

<queuex>

<add key="queue" value="\%COMPUTERNAME%" />

</queuex>

</configuration>

Related topics