Skip to main content
Kofax

FATAL ERROR SEC1001: Template contains code that cannot be used in a sandboxed environment

Article # 3035820 - Page views: 26

Issue

When you compose a document, you receive the following error:

FATAL ERROR SEC1001: Template contains code that cannot be used in a sandboxed environment

 

Cause

By default, Kofax Communications Manager runs document (pack) templates in a sandbox environment. The sandbox prohibits any statements and functions that could interface with the server, such as WRITE, or the environment, such as session_parameter. 

Any master template that contains prohibited statements is blocked before it is started with the above error message.

 

Solution

To disable this setting add the setting ITPSANDBOX=N to the ITP.CFG file

  1. Locate and open itp.cfg in ..\KCM\Work\<version>\Instance_<instance number>\Core\Config\itp.cfg
  2. Change ITPSANDBOX=Y to ITPSANDBOX=N and save and close the file.
  3. Restart all KCM Core services.
    1. Open KCM Core Administrator. 
    2. Go to menu File -> Restart KCM Core, to restart all KCM Core services.
More information 

For more information, please refer to the section "Master Templates running in a sandbox content" (page 30) in the Core Developer's Guide (link).

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
Kofax Communications Manager All versions n/a n/a n/a

 

 

Article # 3035820