The “System.FormatException” error is encountered when documenting a specific database

Applies to
ApexSQL Doc

This article discusses how to solve the “System.FormatException” error that is encountered when documenting a database

The “System.FormatException” error can be encountered when documenting specific databases

Top Level Exception
Type: System.FormatException
Message: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Source: mscorlib

The possible workarounds are:

  1. Replace ‘.’ in the Add SQL Server dialog with the real server name or "(local)" (e.g. “.SQL2005” change to "(local)SQL2005")
  2. If you tried to document several databases simultaneously, try to document them one by one
  3. Document your database with the Explicitly parse database option turned Off
  4. Change the regional settings of your machine to English

About ApexSQL Doc
documents SQL Servers, databases, objects, and SSIS packages in a single document. Create database documentation in a variety of formats including compiled help (*.CHM), HTML and MS Word. Schedule your documentation process unattended with the help of the CLI.

Last updated
April 7, 2013