Configuration section not found

Open Server/SDK component affected

Open Client

Error number

7

Message text

Configuration section %1! not found.

Possible cause

The section name or included section name is not found in the specified configuration file.

Action

Create a section for the section name or included section name in the specified configuration file.

Additional information

Open Client allows you to use runtime configuration files for Client-Library applications. There is no default runtime configuration file included with your software. Therefore, you must create your own configuration file if you need to use one. You can create, place, and name configuration files as needed. However, when an Open Client application is launched, by default Open Client looks for a configuration file named ocs.cfg under the config subdirectory of the Open Client directory. If the file exists, Open Client expects to find the configuration information for the application in it.

The runtime configuration file is separated into sections where each section contains one or more settings, as illustrated below:

[section name] keyword = value ; comment keyword = value; more comments[next section name]... and so forth...

A section can include the keywords in another section using this syntax:

[sectionname] include = previoussection name... more settings...

Versions

Client-Library 10.0.x and later