Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Why causes the error, "Input string was not in a correct format", when running Document Factory 2?

Why causes the error, "Input string was not in a correct format", when running Document Factory 2?

Problem:

Why causes the error, "Input string was not in a correct format", when running Document Factory 2?

Resolution:


  • Product Name: CaliberRM
  • Product Version: 2008 WW/SP1
  • Product Component: Document Factory 2
  • Platform/OS Version: Windows XP, Windows 2000/2003 Server


This error can occur if your template is using the commands below and your regional settings are set to something other than English (United Kingdom).

  • $INDENTION_LEVEL{}
  • $INDENTION_SIZE{}

The error is thrown because of the decimal symbol used by the regional settings. For English (United Kingdom) a "." (full stop) is used, whereas for other languages such as German or French a "," (comma) is used by default.

This issue has been logged with R&D. The current workaround is to change the template so that it has a "," (comma) instead of a "." (full stop) before the value, e.g.

$INDENTION_SIZE{.5}

becomes

$INDENTION_SIZE{,5}


Old KB# 29885

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:40
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.