Skip to main content


 

Symptoms

 


K2 Server on Server 2008 that was upgraded to Server 2008 R2
MOSS 2007 is also installed on the K2 box
K2 is using legacy databases (not consolidated)
We then installed K2 SmartForms (Runtime license) and K2 SmartForms ControlPack 4.6.11 on the server. These components were tested and verified as working correctly.
Installing the final component of K2 for SharePoint 4.6.11 (Required for the K2 for SharePoint App) resulted in an issue where the K2 service would no longer start. Removing the K2 for SharePoint component and rebooting the server allowed the K2 service to start up again successfully. The following error is logged when K2 blackpearl service does not start up:

2001 Error Starting Host Server: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
 

 

Diagnoses

 


Fusion log was enabled as per documentation below:
http://stackoverflow.com/questions/255669/how-to-enable-assembly-bind-failure-logging-fusion-in-net

From the Fusion log, we found the following error against the "Microsoft.IdentityModel.dll" assembly when the K2 Hostserver starts up:

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

This is an assembly of the Windows Identity Foundation (KB974405).
When looking in "Programs and Features > Installed Updates", the Windows Identity Foundation was not installed.
 

 

Resolution

As this is Windows 2008 R2 x64, the "Windows6.1-KB974405-x64.msu" file was installed from the extracted K2 blackpearl installation files (..1. K2 blackpearl 4.6.11 (4.12060.1731.2)InstallationRedistKB974405). Then a repair was performed on each K2 components (K2 blackpearl, K2 Smartforms, Control Pack, and K2 for Sharepoint 2013) to resolve the issue.

 

 



 
Be the first to reply!

Reply