This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

After installing any K2 Cumulative Updates or Fix Packs, all secondary Designer/Runtime sites are not accessible. The following error appears: 

Could not load type 'SourceCode.Web.IConnectionPool` 1' from assembly 'SourceCode.Security.Web'

Symptoms

After installing any K2 Cumulative Updates or Fix Packs, all secondary Designer/Runtime sites are not accessible.

Resolution

To resolve this issue, you will need to create a new copy of the existing SmartForms Runtime or SmartForms Designer folders.

Step 1
Ensure you make a backup of the Existing Secondary SmartForms Runtime or SmartForms Designer folders.

Step 2
As part of the backup process, remove the Secondary “Runtime” and/or “Designer” folder from the K2 Directory as this will allow you a cleaner structure when doing a recopying of the Secondary site.


Step 3
Create a copy of the “Runtime” and/or “Designer” folder, and rename the copy back to the original “secondary site” folder name.

Step 4
Perform an IISReset, and restart the K2 HostServer service.

Below is documentation for reference of the configuration of a Secondary Runtime Site: 
https://help.k2.com/onlinehelp/K2Five/ICG/5.3/default.htm#Configure/SF/Config2nd-Runtime-site.htm


Very Important: When installing any Cumulative Update or Fix Pack on any environment, the secondary sites will not be updated. At the time of writing, only the original sites will get updated with the new dll’s.