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.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
Visual Studio 2015 crashes after editing a SmartForm client event in any workflow and your machine is idle for more than 5 minutes.
The issue only started to occur after applying 4.7 March 2018 Cumulative Update Fix Pack 33.
Looking at the Event Viewer logs, the following Application Error is reported indicating the crash:
From the fusion logs, it shows that it is attempting to read 'Sourcecode.Security.Web.dll' from the Global Assembly Cache, but the assembly could not be found:
LOG: GAC Lookup was unsuccessful.
Here are the steps taken to resolve the issue:
1. Copy 'Sourecode.Security.Web.dll' from <Install Drive>:\Program Files (x86)\K2 blackpearl\Bin to the same folder as the gacutil.exe tool.
2. Open Developer Command Prompt (or the Visual Studio Command Prompt in Windows 7), go to the folder where gacutil.exe is located, and run the following command:
gacutil -i Sourecode.Security.Web.dll
If it is successfully installed, you will see the message: "Assembly successfully added to the cache"
3. Verify that Sourecode.Security.Web.dll resides in C:\Windows\assembly\GAC_MSIL.