Skip to main content
Kofax

[ComposerUI for ASP.NET] Error when accessing the configuration page for the first time

3025090

Symptoms

After installing ComposerUI for ASP.NET, you receive the following error when accessing the ComposerUI configuration page (http://localhost/itp/configure.aspx):

Server Error in '/itp' Application.

 

OnlineEngine.Config.CConfigManager
Error loading web config settings. Process aborted.
Access to the path '[itp_log_dir]' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at OnlineEngine.CLogger..ctor()
   at OnlineEngine.OnLine.get_Log()
   at OnlineEngine.Config.CConfiguration.Load(String path)
   at OnlineEngine.Config.CConfigManager.LoadMainConfig(String path)
   at OnlineEngine.Config.CConfigManager.LoadAppConfigs(String appsRoot)
   at OnlineEngine.Config.CConfigManager.Load()
   at OnlineEngine.Config.CConfigManager..ctor()

The web.config file (C:\inetpub\wwwroot\itp\web.config) still contains placeholder values for configuration elements.

 

Cause

The installer of ComposerUI for ASP.NET does not populate the placeholder values in web.config with the values provided in the installation wizard. ComposerUI for ASP.NET cannot initialize because the web.config file is not correctly configured.

 

Resolution

To resolve your issue, you must configure the web.config file of ComposerUI for ASP.NET.
For a default installation, the web.config file is located at C:\inetpub\wwwroot\itp\web.config.
The following values must be replaced:

[itp_log_dir] to C:\ITPOnLineApps\itplog
[itp_temp_dir] to C:\ITPOnLineApps\sessiondata
[itp_applications_dir] to C:\ITPOnLineApps
[itp_public_dir] to  C:\inetpub\wwwroot\itppublic
[itp_public_uri] to itppublic

The provided values are valid for a default installation.
This is a template that could be used to copy and paste to the web.config file:

    <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_public_dir" value="C:\inetpub\wwwroot\itppublic" />
    <add key="itp_public_uri" value="itppublic" />

The changes made to the web.config file are immediately effective. The configuration page can now be used.

 

Applies to:  

Product Version
KCM 5.4 and later