Solved

K2 (5.0004.1000.4) >> K2Five53June2023CumulativeUpdate >> Could not load type 'Roles' from assembly 'SourceCode.Install.SQL, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'.

  • 19 July 2023
  • 2 replies
  • 150 views

Userlevel 1
Badge +1

K2 (5.0004.1000.4)  >> K2Five53June2023CumulativeUpdate >> after update with database, 

Open K2 Setup Manager ERROR occured during the execution of setup:

Arguments:  
Exception: Could not load type 'Roles' from assembly 'SourceCode.Install.SQL, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'., Exception has been thrown by the target of an invocation., Exception has been thrown by the target of an invocation.

 

 

icon

Best answer by sng 25 July 2023, 03:08

View original

2 replies

Badge +2

You can try the following:

1.Make a backup of the below dlls in [InstallDIR]\K2\Setup:

  • SourceCode.Install.Logging.dll
  • SourceCode.Install.SQL.dll

2.In the location of the extracted K2 Five (5.3) June 2023 CU, [Extracted Location]\K2 Five (5.3) June 2023 Cumulative Update, copy the following dlls:

  • SourceCode.Install.Logging.dll
  • SourceCode.Install.SQL.dll

3.Replace the dlls in [InstallDIR]\K2\Setup with the copies from the extracted CU.

4.Rerun the Setup.exe and you should no longer see the error.

Userlevel 1
Badge +1

Replacing the following DLLs

  • SourceCode.Install.Logging.dll
  • SourceCode.Install.SQL.dll

from the extracted CU K2Five53June2023CumulativeUpdate in [InstallDIR]\K2\Setup Solved the problem.

Thanks.

Reply