MID server installation fails with - SEVERE *** ERROR *** Unexpected exception, terminating the MID server with SAXParseExceptionIssue While installing a new MID server on the MID server host, the installation may fail. Alternatively, the installation may be successful however the MID service does not start. We see the below errors in the Wrapper and Agent Logs.Wrapper log:2018/10/26 12:06:28 | Launching a JVM...2018/10/26 12:06:28 | WrapperManager: Initializing...2018/10/26 12:06:29 | Logger for 'glide' has not been configured by the container, configuring now:2018/10/26 12:06:29 | Configuring log handler: java.util.logging.FileHandler2018/10/26 12:06:29 | Setting useParentHandlers=false for Logger 'glide'2018/10/26 12:06:29 | Overriding formatter to: com.glide.util.DefaultLogFormatter (for handler: java.util.logging.FileHandler)2018/10/26 12:06:29 | [Fatal Error] :32:78: The reference to entity "JY" must end with the ';' delimiter.2018/10/26 12:06:30 | ServiceNow MID Server Core service started.2018/10/26 12:06:31 | <-- Wrapper StoppedAgent Log:10/26/18 12:06:28 (978) WrapperStartStopAppMain Running under Java version: 1.8.0_191, java PID: 3488, args: start10/26/18 12:06:28 (978) WrapperStartStopAppMain Initializing MID Server10/26/18 12:06:28 (994) MIDServer Creating injector...10/26/18 12:06:29 (244) MIDServer WARNING *** WARNING *** org.xml.sax.SAXParseException; lineNumber: 32; columnNumber: 78; The reference to entity "JY" must end with the ';' delimiter.10/26/18 12:06:29 (244) MIDServer Using configuration: C:\ServiceNow\MIDServers\Core_Production\agent\config.xml10/26/18 12:06:29 (244) MIDServer WARNING *** WARNING *** XPathUtil.selectSingleNode called with null using xpath: //parameter[@name='refresh_rate']10/26/18 12:06:29 (244) MIDServer WARNING *** WARNING *** XPathUtil.selectSingleNode called with null using xpath: //parameter[@name='instance.date.format']10/26/18 12:06:29 (244) MIDServer WARNING *** WARNING *** XPathUtil.selectNodes called with null using xpath: //parameter10/26/18 12:06:29 (244) MIDServer SEVERE *** ERROR *** Unexpected exception, terminating the MID serverNote: The error may be slightly different, however "WARNING *** org.xml.sax.SAXParseException" point to a failure in parsing the configuration file, config.xml.ReleaseAny currently supported Release/Environment.CauseUsage of a special character, specifically '&', in the MID user password.Corrupted config.xml fileIncorrectly formatted config.xml fileResolutionTest a password without special characters.Re-create/re-download config.xml and populate parameters again.Check other software such as chrome or IE can successfully open the config.xml file.Start the MID service.