Symptoms
The consolidation completed successfully but the K2 Host Service stucks at starting. Comparing the config files, it looks like half of the information got written and abruptly ended which could be the main cause. The following error was in the install log: Logged Error: Exception occurred while trying to update comments for file: E:Program Files (x86)K2 blackpearlHost ServerBinK2HostServer.exe.config Exception Type: XmlException Exception Msg: There is an unclosed literal string. Line 146, position 126. Stacktrace: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at SourceCode.Install.Common.ConfigFunctions.UpdateConfigComment(String filename, Dictionary`2 tokenValueList)
Diagnoses
The issue was caused by corrupted K2HostServer.exe.config file
Resolution
Run K2 blackpearl Setup Manager with Repair option from the installation folder to resolve the issue.