Symptoms
Issue _1: When trying to access K2 Workspace, receiving the following error:
“HTTP Error 500.23 – Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated pipeline mode”
Issue _2: After changing Workspace to use K2 blackpearl app pool, we ran into the following error:
Could not load file or assembly ’SourceCode.LicenseManagementAPI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d’ or one of its dependencies. The system cannot find the file specified.
Diagnoses
Issue _1: The issues was caused by Workspace app pool was configured to use K2 SmartForm app pool instead of K2 blakcpearl app pool. The workspace app pool use Classic mode but SmartForm app pool use Integrate mode.
Issue _2: The issue was caused by “Enable 32-Bit Applications” was set to true for K2 blackpearl app pool.
Resolution
Issue _1: Switching Workspace to use K2 blackpearl app pool (Classic mode for pipeline)
Issue _2: Disable “Enable 32-Bit Applications” for K2 blackpearl app pool resolved the issue.