Skip to main content


 

Symptoms


Problem with deployment of package in new version of K2 Blackpearl
 

Diagnoses


We have existing workflows which were installed using version 4.6.7 of BlackPearl.
We have recently upgraded our dev environnements to 4.6.10 and some workflows no longer deploy. I have 1 workflow which still deploys successfully and another which générâtes and error on deployment (please see attached file). I have tested the same package on a server running 4.6.7 and it deploys successfully.

Thanks.
 

Resolution

Issue:

Workflow fails to deploy.

Symptoms:
error : Task Error: System.Exception: Error occurred adding the feature to the farm. ---> SourceCode.Configuration.ConfigurationNotInitializedException: Please ensure that the needed configuration node(s) ConnectionStringstHostServer] are configured in your configuration file c:WindowsMicrosoft.NETFrameworkv2.0.50727MSBuild.exe.Config. Please refer to the help documentation for further details.

Resolution:
Add the following to your c:WindowsMicrosoft.NETFrameworkv2.0.50727MSBuild.exe.Config file. Replace the bracketed items with information appropriate to your instance.


name="sourcecode.configuration"
type="SourceCode.Configuration.ConfigurationManager, SourceCode.Framework,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d" />


managerConfigFile="FSOURCECODECOMMONAPPDATA]ConfigurationManager.config"
productPath="PINSTALLDIR]Bin"
templateConfigFile="" />


name="HostServer"
connectionString="Integrated=TrueIsPrimaryLogin=TrueAuthenticate=True
EncryptedPassword=FalseHost=eHOSTSERVERNAME]Port=]HOSTSERVERPORT]"
providerName="NLICENSEDPRODUCT]" />


Additional details can be found here:
http://help.k2.com/kb001637




 
Be the first to reply!

Reply