Visual Studio 2015 crashes after editing a SmartForm client event in any workflow

  • 24 February 2022
  • 0 replies
  • 3 views

Userlevel 5
Badge +20
 

Visual Studio 2015 crashes after editing a SmartForm client event, in any workflow

kbt158743

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
TAGS
.NET Framework
Assembly
SmartForms
Workflow
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.
LEGACY/ARCHIVED CONTENT
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.

Issue

Visual Studio 2015 crashes after editing a SmartForm client event in any workflow and your machine is idle for more than 5 minutes.

Symptoms

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: 

Image

Troubleshooting Steps

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 blackpearlBin 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:WindowsassemblyGAC_MSIL.


0 replies

Be the first to reply!

Reply