Web.config file in QPR ProcessAnalyzer
QPR ProcessAnalyzer Server's web.config file is located in the folder containing the IIS web application files for QPR ProcessAnalyzer. Ensure Application pool identity have access rights for relevant folders and files defined in LogFilePath and LicenseFilePath.
These settings are in the Qpr.ProcessAnalyzer.Common.Properties.Settings section.
|LogFilePath||Location of the QPR ProcessAnalyzer Server log file (defined as the full path with the file name). For example: C:\ProgramData\QPR Software\QPR ProcessAnalyzer\Logs\PA.log.|
Duration after which models that have not been used, are dropped from the memory. Defined in format HH:mm:ss or d.HH:mm:ss, for example 01:00:00 (one hour), 00:30:00 (30 minutes) or 1.00:00:00 (24 hours). When an analysis is requested for a model, the model's last used time is updated (also filter's last used time is updated). It's recommended to keep this setting long enough, as dropped models need to be loaded from the database into the memory, which might take several minutes for large models.
This setting can be overridden for each model in the model settings.
If this setting is not defined in the web.config, a default value of 10 hours is used.
Duration after which filters that have not been used, are dropped from the memory. Defined in format HH:mm:ss or d.HH:mm:ss, for example 01:00:00 (one hour), 00:30:00 (30 minutes) or 1.00:00:00 (24 hours). When an analysis is requested for a filter, the filter's last used time is updated (also model's last used time is updated).
This setting can be overridden for each model in the model settings.
If this setting is not defined in the web.config, a default value of 1 hour is used.
|ResponsePollingInterval||Determines after which time (in milliseconds) a pending requests in QPR ProcessAnalyzer Server are returned back with an exception containing an operation id. The request continues to run in the QPR ProcessAnalyzer Server, and QPR ProcessAnalyzer Excel Client is then able to make further requests to query the progress of the task. For QPR UI, which doesn't support this behavior, set the limit large enough so that the limit is not reached in normal usage, e.g. 10 minutes (600000 ms).|
The case sample size that is set for new filters. When set to 0, sampling is disabled for the created filters. Case sample size is stored separately for each filter and it can be changed afterwards using the Excel Client. If a filter is created based on another filter, the new filter gets the sample size of the original filter. Sampling can be used to increase performance, because analyses are calculated for the sample instead of all cases. If this setting is not provided, value 0 is used.
|UpdateDatabaseIfNeeded||Whether to update the QPR ProcessAnalyzer database when a newer version is started with an older version of the database. Either True or False.|
The numeric value is the parallel task size. If this setting is not provided, value 100 000 is used.
|ServerGroupPA/ServerGroupMD/ ServerGroupMEA||Settings related to Common QPR Authentication.|
|EnableImportCompressionByDefault||Whether to compress data transferred between client and server. Set it to True (there shouldn't be a need to set set to False).|
|AllowForwardingNetworkCredentials||Defines whether it's allowed run the Call WebService command with DefaultNetworkCredentials=true in the server side (ExecuteInClientSide=false).|
These settings are in the Qpr.ProcessAnalyzer.Service.Properties.Settings section.
If QPR ProcessAnalyzer Server is running behind a web traffic load balancer (e.g. in Amazon Web Services), the following setting needs to be set to True. In that case, the client ip address is fetched from http request X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For) field instead of the source of the ip packet. Client ip address is needed for logging and as a security confirmation in addition to the session id. When there is no load balancer and thus X-Forwarded-For is not set, it's important to have this setting as False.
QPR ProcessAnalyzer Server product license activation code. Ask your organization license activation code from firstname.lastname@example.org.
QPR ProcessAnalyzer Server automatically activates itself if the code is specified and there is an internet connection in the server computer. If there is no internet access, the activation need to be done manually by using the Activation Utility.
|FirstName||(mandatory) Contact person's first name (in the user organization) (used for QPR ProcessAnalyzer Server activation).|
|LastName||(mandatory) Contact person's last name (used for QPR ProcessAnalyzer Server activation).|
|Country||(optional) User organization country (used for QPR ProcessAnalyzer Server activation).|
|Organization||(optional) User organization name (used for QPR ProcessAnalyzer Server activation).|
|(mandatory) Contact person's email address (used for QPR ProcessAnalyzer Server activation).|
|JobTitle||(optional) Contact person's job title (used for QPR ProcessAnalyzer Server activation).|
|PhoneNumber||(optional) Contact person's phone number (used for QPR ProcessAnalyzer Server activation).|
|Address||(optional) User organization address (used for QPR ProcessAnalyzer Server activation).|
|PostalCode||(optional) User organization postal code (used for QPR ProcessAnalyzer Server activation).|
|City||(optional) User organization city (used for QPR ProcessAnalyzer Server activation).|
|Region||(optional) User organization region (used for QPR ProcessAnalyzer Server activation).|
|LicenseFilePath||QPR ProcessAnalyzer Server license file path including the file name. For example C:\ProgramData\QPR Software\QPR ProcessAnalyzer\pa_service.lf. The license file is created when the QPR ProcessAnalyzer Server is activated. If changing the activation code, this file needs to be deleted manually to enable reactivation.|
|UseProxyServer||If needed, define the proxy server for QPR ProcessAnalyzer Server activation.|
|ProxyAddress||If needed, define the proxy server address for QPR ProcessAnalyzer Server activation.|
|ServiceUrl||Legacy setting. Do not change it.|
|ModelLoadOnStartup||Determines whether QPR ProcessAnalyzer models having setting LoadOnStartup as true are loaded automatically during server startup. By default, this setting should be set to True. This setting can be used to temporarily disable automatic model loading for all models when for example automatic model loading causes issues.|
|EMSAddress||Activation server address https://activation.qpr.com/ that is contacted when the QPR ProcessAnalyzer Server is activated. Do not change this setting.|
|ConnectionType||This setting should be Database.|
Database Connection String
This section defines a connection string to QPR ProcessAnalyzer database. Check whether you are using an SQL Server default instance or a named instance, and whether an SQL Server authentication or Windows authentication is used.
Connect to SQL Server default instance using SQL Server authentication:
Connect to SQL Server default instance using Windows authentication:
Connect to SQL Server named instance using SQL Server authentication:
Connect to SQL Server named instance using Windows authentication:
More information about connections strings: . Example:
<connectionStrings> <add name="Qpr.ProcessAnalyzer.Service.Properties.Settings.SqlDatabaseConnectionString" connectionString="Server=localhost\MSSQLSERVER2019;DataBase=QPRPA;User Id=USERNAME;Password=PASSWORD;" /> </connectionStrings>
These settings are in the system.runtime.caching section, and they define, how much operating system memory (RAM) QPR ProcessAnalyzer can use. Settings that can be changed:
|physicalMemoryLimitPercentage||Maximum percentage of server physical memory that can be used by the QPR ProcessAnalyzer Server instance. The default value is 0, which means that the maximum is determined automatically.|
|pollingInterval||Time interval after the current memory usage is compared against the defined physicalMemoryLimitPercentage setting. The value is entered in HH:MM:SS format. If more memory is used than either of the limits, cached data (eventlogs and analysis results) are dropped from the memory. Recommended value is 00:00:10.|
|cacheMemoryLimitMegabytes||Don't change this setting, and use value 0.|
<memoryCache> <namedCaches> <add name="Default" cacheMemoryLimitMegabytes="0" physicalMemoryLimitPercentage="80" pollingInterval="00:00:10" /> </namedCaches> </memoryCache>
Service API Settings
These settings are in the Qpr.ProcessAnalyzer.Service.Api.Properties.Settings section.
|IncludeExceptionDetailsInErrors||Determines whether stack straces are included to the error messages. False (recommended setting) means that the stack trace is not sent, and True means that the stack trace is sent. Stack traces give more information for technical persons to find out the reason for an error, but revealing the detailed information in stack traces can be a risk from the information security point of view.|