This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
When installing K2 connect you may receive a "Required product not found - K2 blackpearl Server" error, such as the following:
||Note: This only occurs when K2 blackpearl is installed on 64-bit systems, and is corrected in K2 blackpearl 4.6.2 and later.
Update the registry key value to point to the location where K2 blackpearl is installed. This is typically C:\Program Files (x86)\K2 blackpearl\
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCode\BlackPearl\BlackPearl Host Server\InstallDir]
Run the following script on the command line to add the registry key, ensuring that you update the location of the K2 blackpearl server installation directory including the double backslash "\\" (escaped trailing backslash):
set K2PATH="C:\Program Files (x86)\K2 blackpearl\\"
reg add "HKLM\SOFTWARE\Wow6432Node\SourceCode\BlackPearl\BlackPearl Host Server" /f /v InstallDir /t REG_SZ /d %K2PATH%
You may receive a SmartObject Server Exception after updating. The workaround for this error is to add the registry key value as outlined above, and resinstall K2 connect.
Could not load file or assembly 'file:///C:\Program Files (x86)\K2 blackpearl\ServiceBroker\SourceCode.SmartObjects.Services.ConnectService.dll' or one of its dependencies. The system cannot find the file specified.