Configuration for ITP/OnLine ASP.NET

The ASP.NET edition of ITP/OnLine exposes some configuration settings that are not available through the generic configuration pages. Instead, these settings are found in the file web.config, which is located in the IIS virtual directory for ITP/OnLine ASP.NET. The folder location of the virtual directory is configured during the installation, in a default installation it is C:\Inetpub\wwwroot\itp. The file web.config is an XML document, and the ITP/OnLine ASP.NET configuration settings are stored in the XML element <appSettings>. The default configuration is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
  <appSettings>
    <add key="itp_log_dir" value="C:\ITPOnLineApps\itplog" />
    <add key="itp_temp_dir" value="C:\ITPOnLineApps\sessiondata" />
    <add key="itp_applications_dir" value="C:\ITPOnLineApps" />
    <add key="itp_log_count" value="10" />
    <add key="itp_max_log_size_kb" value="1024" />
  </appSettings>
<!-- ... -->
</configuration>

Each line of the form <add key="configuration setting" value="value"> defines the value of a single configuration setting. The meaning of these settings is as follows:

Setting

Description

itp_log_dir:

The folder where ITP/OnLine ASP.NET stores its log files. In a default installation, this is the subfolder itplog of the ITP/OnLine application folder.

Note that if this setting is changed to a different folder, then the permissions described in the ITP/OnLine ASP.NET Installation Guide must be applied to that folder too. It is also advisable to remove the permissions from the old folder when they are no longer needed.

itp_temp_dir:

The folder where ITP/OnLine ASP.NET stores its temporary files and its session information. In a default installation, this is the subfolder sessiondata of the ITP/OnLine application folder.

Note that if this setting is changed to a different folder, then the permissions described in the ITP/OnLine ASP.NET Installation Guide must be applied to that folder too. It is also advisable to remove the permissions from the old folder when they are no longer needed.

itp_applications_dir:

The ITP/OnLine applications folder. Subfolders of this folder contain the sources of the custom applications installed in ITP/OnLine ASP.NET.

Note that if this setting is changed to a different folder, then the permissions described in the ITP/OnLine ASP.NET Installation Guide must be applied to that folder too. It is also advisable to remove the permissions from the old folder when they are no longer needed.

itp_log_count:

The maximum number of old log files that ITP/OnLine ASP.NET will retain.

itp_max_log_size_kb:

The size that an ITP/OnLine ASP.NET log file may reach before it is archived as an old log file.