Knowledge Base
Showing results for 
Search instead for 
Did you mean: 

YAML errors when attempting to run batch file to start the Mongo service during V3 on premise installation.


Before installing AccessXpert on premise server software, the Mongo DB must be installed and the Mongo service started, this requires creation and editing of a configuration file where the data and log directories are specified.

There have been many cases of YAML errors seen during V3 on premise installation when attempting to start the Mongo service.




Mongo DB


The YAML parser that reads the "mongo.cfg" file is very sensitive to the format of the configuration file including some very strict rules about spaces, double quotes and back slashes.

When editing the file, it helps to setup the text editor to display ALL characters which will show any hidden characters that might be causing a parsing error.



  1. Space is needed between key and value pair.
  2. Enclose paths in double quotes.
  3. Double back slash required in Windows systems.
Labels (1)
No ratings
Version history
Revision #:
1 of 1
Last update:
‎2018-09-10 07:13 AM
Updated by: