Symptoms
I can save the work flow just fine. But when I try to deploy from the Designer Web Client I get the following error.
I've tried doing a Full Repair on all components of this install but I still get the error.
Error:
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
The section of the K2HostServer.exe.config file was missing a piece of code.
Resolution
During our online meeting, we added the missing section:
to the end of the file. After we restarted the K2 Service, we were able to deploy the workflow correctly.