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

After upgrading to K2 4.7, the following error appears when opening a Smartform:

Image

Symptoms

  • No errors surfaced on Design time
  • As per this KBT article, the following setting in the K2 Smartforms Runtime web.config file ([Drive]:\[Program Files]\K2 blackpearl\K2 smartforms Runtime) is already set to False:

<add name="EnableTracing" value="false" />

Troubleshooting Steps

To resolve the issue, please complete the following steps to enable Windows Authentication for the runtime site:

1. Make a backup of the web.config file for K2 SmartForms Runtime ([Drive]:\[Program Files]\K2 blackpearl\K2 Smartforms Runtime) before proceeding. 

2. Change the authentication mode to use Windows as well as set windows authentication to True. Here are the entries:

<authentication mode="Windows">

<windowsAuthentication enabled="true" .....>

3. Perform an IIS reset.

4. Clear the browser's cache and then test again.

The resolution steps above only applies to environments that are not SharePoint-integrated. If you are using SharePoint, Forms Authentication needs to be enabled.