Symptoms
When opening the K2 Designer you may see the following error: Could not load file or assembly 'K2Licensing' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Diagnoses
This happens when the K2 smartforms appPool was created as a "32bit App".
Resolution
The following steps will guide you through the process of changing the app to 64bit.
- One the machine that is hosting the K2 smartforms web site
- Open IIS.
- Expand Emachinename] and click the "Application Pools" node.
- Search for the "K2 smartforms" appPool.
- Right-click it and select "Advanced Settings from the context menu.
- Under the "General" section, find the "Enable 32-bit Applications" entry.
- Change the setting from "True" to "False".
- Perform an IISReset and try opening the K2 Designer again.