Configuration

Configuration is performed per program part.

1) Windows Service

You can make the following settings in the file Q-ENGINE_service.exe.config.

You will find this file in the installation directory, and elements not listed here must not be changed:

<connectionStrings>
    <add name="..."
    connectionString="..."
    providerName="System.Data.SqlClient" />
</connectionStrings>

Contains the connection string for the Microsoft SQL Server. The following information must be set at a minimum:

Data SourceThe data source, i.e. the server including the service instance
Initial CatalogThe database to be used
Integrated Security or Trusted_Connection or User ID / PasswordFor the connection, use Active Directory or a username (uid also possible) and password

Examples:

Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;uid=user;Password=password;
Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;Trusted_Connection=yes;
Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;Integrated Security=SSPI;
<add key="ServiceName" value="_prod" />

The value of value can be a string. Default: _prod

The string is appended to the name of the Windows service, and the service can then be reached via this extended name.

<add key="WaitInSeconds" value="10" />

The value of value must be an integer between 10 and 50. Default: 10

Sets the wait time in seconds between automation runs.

<add key="LicenseKeyPath" value="C:\Q-Matrix™\" />

The value of value must be a string. Default: C:\Q-Matrix™\

The string is used to search a directory at this location for a usable license. If the string is left empty, a valid license must be placed in the execution directory of the Windows service.

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

The value of value must be a string. Default:

The string is used at runtime to use / replace the URL for Q-PORTAL.

<add key="DBBackupPath" value="C:\tmp\" />

The value of value must be a string. Default: C:\tmp\

The string is used to store a database backup in the specified directory.

<logger name="*" minlevel="Trace" writeTo="debugger" />

The value of minlevel can be Trace or Info. Default: Info

For more information, see https://nlog-project.org/config/

<logger name="*" minlevel="Trace" writeTo="console" />

The value of minlevel can be Trace or Info. Default: Info

For more information, see https://nlog-project.org/config/

<logger name="*" minlevel="Trace" writeTo="file" />

The value of minlevel can be Trace or Info. Default: Info

For more information, see https://nlog-project.org/config/

2) Windows Application

You can make the following settings in the file Q-ENGINE_gui.exe.config.

You will find this file in the installation directory, and elements not listed here must not be changed:

<connectionStrings>
    <add name="..."
    connectionString="..."
    providerName="System.Data.SqlClient" />
</connectionStrings>

Contains the connection string for the Microsoft SQL Server. The following information must be set at a minimum:

Data SourceThe data source, i.e. the server including the service instance
Initial CatalogThe database to be used
Integrated Security or Trusted_Connection or User ID / PasswordFor the connection, use Active Directory or a username (uid also possible) and password

Examples:

Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;uid=user;Password=password;
Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;Trusted_Connection=yes;
Data Source=.SQLEXPRESS;Initial Catalog=QM_DB;Integrated Security=SSPI;
<add key="LicenseKeyPath" value="C:\Q-Matrix™\" />

The value of value must be a string. Default: C:\Q-Matrix™\

The string is used to search a directory at this location for a usable license. If the string is left empty, a valid license must be placed in the execution directory of the Windows service.

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

The value of value must be a string. Default:

The string is used at runtime to use / replace the URL for Q-PORTAL.

<add key="DBBackupPath" value="C:\tmp\" />

The value of value must be a string. Default: C:\tmp\

The string is used to store a database backup in the specified directory.

<logger name="*" minlevel="Trace" writeTo="file" />

The value of minlevel can be Trace or Info. Default: Info

For more information, see https://nlog-project.org/config/