Skip to main content


 

Symptoms

 


Author a basic process in code sample is not working on 4.6.9 and 4.6.10
 

 

Diagnoses

 


http://help.k2.com/onlinehelp/K2blackpearl/DevRef/current/default.htm_Create_Process.html

We downloaded the code sample, it works for 4.6.7, but not working in 4.6.9 and 4.6.10.


 

 

Resolution 

Refer to KB : http://help.k2.com/kb001637.

The configuration entries for Client Tools and Authoring APIs has also been moved from all the .Net Machine.Config files to the individual application config files. This change can impact the APIs used to author K2 Projects, SmartObjects and Workflows. If building a custom application to make use of the APIs, and the entries are missing, the following exception will get raised:
'Please ensure that the needed configuration nodes are configured in your configuration file. Please refer to the help documentation for further details.'
To resolve this exception, the following configuration entries needs to be configured in your applications config file:

 

 

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




managerConfigFile="oSOURCECODECOMMONAPPDATA]ConfigurationManager.config"
productPath="oINSTALLDIR]Bin"
templateConfigFile="" />



name="HostServer"
connectionString="Integrated=TrueIsPrimaryLogin=TrueAuthenticate=True
EncryptedPassword=FalseHost==HOSTSERVERNAME]Port=RHOSTSERVERPORT]"
providerName="vLICENSEDPRODUCT]" />



Here is an example of the configuration taken from a Denallix environment:



 

 

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




managerConfigFile="C:Program Files (x86)K2 blackpearlConfigurationConfigurationManager.config"
productPath="C:Program Files (x86)K2 blackpearlBin"
templateConfigFile="" />



name="HostServer"
connectionString="Integrated=TrueIsPrimaryLogin=TrueAuthenticate=True
EncryptedPassword=FalseHost=dlxPort=5555"
providerName="K2BLACKPEARL" />

 

 



 
Be the first to reply!

Reply