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.
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=126.96.36.199, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d' or one of its dependencies. The system cannot find the file specified.
The 'SourceCode.WebDesigner.Framework.SmartForms' DLL is missing in the .NET 4 GAC.
.NET 4GAC Location:
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:
- Drag and drop your assembly on the "K2_installed_directory\Setup\SourceCode.Configuration.GAC.Net4.exe"SourceCode.Configuration.GAC.NET4.exe"
- Verify that the file is added to the GAC.