Symptoms
When attempting to deploy using Package And Deployment, the following error occurs:
SourceCode.Configuration.ConfigurationNotInitializedException: Please ensure that the needed configuration node(s) are configured in your configuration file C:Program Files (x86)K2 blackpearlHost ServerBinK2HostServer.exe.Config. Please refer to the help documentation for further details.
at SourceCode.Configuration.ConfigurationManager.CheckIsConfigurationInitialized()
at SourceCode.Configuration.ConfigurationManager.get_ConfigurationFolder()
at SourceCode.Workflow.Authoring.Process.EnsureRequiredReferences()
at SourceCode.Workflow.Authoring.Process..ctor()
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.Generate(String LocalHostConnection, String UserName, Int32 ProcessID, String InputData, String ProcessXML, String SqlConnectionString, String HostServerConnectionString)
Diagnoses
N/A
Resolution
We edited the K2Hostserver.exe.config and noticed that there was an extra backslash and that some additional attributes were missing in the XML node below:
As such we updated it to the format below:
And then copied to the same level as the closing tag.