VERIFIED SOLUTION i

"Error 97206: unable to set the timeout for Ghostscript child process, code []" in EngageOne Vault

6.1

Issue

Documents aren't rendering.  Failing with Error 97206

Cause

The render log contains the following:
 
09:55:27 10.4.1.39:2758 <render1> ERROR 97206: unable to set the timeout for Ghostscript child process, code [96904]
09:55:27 10.4.1.39:2758 <render1> render.transform failed, status [97206]
 

Resolution

UPDATED: July 18, 2019
Starting in Vault 6.1m0p87, a new INI setting was added that allows an explicit timeout to be set for the e2ps.exe subprocess.

e2ps.exe helps Ghostscript render Postscript documents in the Vault (especially when the FileMode=1 setting is activated.)  FileMode=1 causes rendered documents to be spooled to a file prior to rendering, which can be advantageous when the file is very large and will use up a lot of memory otherwise.

By default this subprocess had a 120 second timeout that would sometimes be exceeded when rendering Postscript document that had many pages or were resource intensive.

The timeout could be set on a profile by profile basis, i.e.,

profiles.ini
[someprofile]
PostscriptTimeout=240000  <--- the value is in milliseconds; default is two minutes)
 
09:55:27 10.4.1.39:2758 <render1> ERROR 97206: unable to set the timeout for Ghostscript child process, code [96904]
09:55:27 10.4.1.39:2758 <render1> render.transform failed, status [97206]

error happens when there is something wrong with the Ghostscript install or with some of the ghostscript related DLLS.  For instance if gs32.dll was missing this error could happen.