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'.
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'.
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.
Best answer by sng
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.
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.