K2 connect installation error "Required product not found: K2 blackpearl Server"
KB000708
PRODUCTK2 connect 4.5 to 4.6.5
BASED ONK2 connect 4.5
TAGSInstallation
LEGACY/ARCHIVED CONTENT
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.
Summary
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. |
Workaround
Update the registry key value to point to the location where K2 blackpearl is installed. This is typically C:Program Files (x86)K2 blackpearl
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):
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_MACHINESOFTWAREWow6432NodeSourceCodeBlackPearlBlackPearl Host ServerInstallDir]
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 "HKLMSOFTWAREWow6432NodeSourceCodeBlackPearlBlackPearl Host Server" /f /v InstallDir /t REG_SZ /d %K2PATH%
reg add "HKLMSOFTWAREWow6432NodeSourceCodeBlackPearlBlackPearl Host Server" /f /v InstallDir /t REG_SZ /d %K2PATH%
Additional Information
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 blackpearlServiceBrokerSourceCode.SmartObjects.Services.ConnectService.dll' or one of its dependencies. The system cannot find the file specified.