Code Fix: Unable to redirect the SourceCode.Forms.Runtime.error output to a specified location

Issue Description


Unable to redirect the SourceCode.Forms.Runtime.error output to a specified location.

Resolution

The fix is available in the following K2 versions:

K2 4.7 December 2019 Cumulative Update K2 Five (5.0) December 2019 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3)
X X Fix Pack 30 X Fix Pack 36
  1. Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.

Considerations

After installing the Fix Pack, follow these steps:

  1. Open SourceCode.Forms.Runtime.error in Notepad or Notepad ++.
  2. Search for the Forms.ErrorLoggingPath key. If it does exist, set the value to the folder you want the output to be stored.
  3. If it does not exist, add the following key:

    <add key="Forms.ErrorLoggingPath" value="[DIR]:\[FolderName]\" />

  4. Ensure that the path specified does exist.
  5. Do an IISReset.
  6. Restart the K2 Host Server