Skip to main content
Nintex Community Menu Bar

Unable to start K2 service. TypeLoadError, method does not have an implementation

  • February 16, 2021
  • 0 replies
  • 58 views
  • Translate

Forum|alt.badge.img+7

Issue

After installing K2 blackpearl 4.7, K2 service is unable to start. The following error is thrown in the HostServer logs:

 

"Error","System","2010","TypeLoadError","SourceCode.Hosting.Server.Runtime.HostTypeLoader.LoadHostableTypes","2010 Type Load Error, Method 'GetClassAce' in type 'SourceCode.Authorization.Service.AuthorizationService' from assembly 'SourceCode.Authorization.Service, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d' does not have an implementation."

 

Diagnosis

This error indicates that there is a missing dependent assembly in the GetClassAce method in SourceCode.Authorization.Service.dll.

 

The GetClassAce method depended on this assembly: SourceCode.Authorization.Interfaces.dll. We found this assembly present in the following locations:

 

  • [Program Files]K2 blackpearlHost ServerBin
  • [Program Files]K2 blackpearlHost ServerBinhostedServices
  • C:WindowsMicrosoft.NetassemblyGAC_MSILSourceCode.Authorization.Interfacesv4.0_4.0.0.0__16a2c5aaaa1b130d

 

The SourceCode.Authorization.Service.dll assembly in [Program Files]K2 blackpearlHost ServerBin and [Program Files]K2 blackpearlHost ServerBinhostedServices are of the correct version, but oddly the one C:WindowsMicrosoft.NetassemblyGAC_MSIL is of a newer version.

 

Resolution

K2 Five was likely installed on this same server previously, and a clean up was not done properly so there are some assemblies from K2 Five that were left over. On K2 blackpearl 4.7, SourceCode.Authorization.Service.dll should not be present in C:WindowsMicrosoft.NetassemblyGAC_MSIL.

 

Remove the SourceCode.Authorization.Service.dll assembly from  C:WindowsMicrosoft.NetassemblyGAC_MSIL, and running a repair with K2 Setup Manager allows the K2 service to be started without any errors.

 

 

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings