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

When opening any workflows in K2 Five Designer, it displays the following error message:


Could not load file or assembly 'SourceCode.WebDesigner.Framework.SmartForms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d' or one of its dependencies. The system cannot find the file specified.

 

Image

Symptoms

The 'SourceCode.WebDesigner.Framework.SmartForms' DLL is missing in the .NET 4 GAC.

.NET 4GAC Location:
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\SourceCode.WebDesigner.Framework.Forms

Troubleshooting Steps

The missing DLL can be GAC using GACUtil or the SourceCode.Configuration.GAC.NET4.exe built-in tool. This tool is part of the installer Source files and installed files.

Instructions on the tool:

  1. Drag and drop your assembly on the "K2_installed_directory\Setup\SourceCode.Configuration.GAC.Net4.exe"SourceCode.Configuration.GAC.NET4.exe"
  2. Verify that the file is added to the GAC.