K2 Designer displays 'Could not load file or assembly' error when opened

  • 24 February 2022
  • 0 replies
  • 217 views

Userlevel 5
Badge +20
 

K2 Designer displays 'Could not load file or assembly' error when opened

kbt152082

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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

When opening K2 Designer, it displays the following error message:
 

"Could not load file or assembly 'K2Field.K2Forms.Controls.SetLanguage' or one of its dependencies. The system cannot find the file specified"

 

Image

Symptoms

This error means that the Multilingual Control from the K2 Community has been installed in the environment, and its assembly cannot be found. In most of the cases it happens when you restore an existing K2 database which contain control registration information (reference to assembly on a file system), but the assembly itself is missing in the required location.

 

All community projects/downloads fall outside of the scope of K2 support. By downloading any K2 Community project you are agreeing to our download license (below).
 

Troubleshooting Steps

Please follow the steps below to resolve this issue:

1. Download Multilingual control package from K2 Community (multilingual_1.91)

2. Copy K2Field.K2Forms.Controls.SetLanguage.dll which can be found under K2Field.K2Forms.Controls.SetLanguageK2Field.K2Forms.Controls.SetLanguageControlsinDebug and paste this file into the following locations:

- Program Files(x86)]K2 BlackpearlSmartforms Designerin
- Program Files(x86)]K2 BlackpearlSmartforms Runtimein

4. Perform an IISRESET

5. Clear browser cache and try accessing the K2 Designer again.


0 replies

Be the first to reply!

Reply