Issue

You are unable to configure the datasource on a picture control. It keeps on loading the window and the spinner keeps spinning.

Image

Symptoms

When trying to edit a form in Designer, the form never makes it past the spinner. Developer tools logged the following errors:

"CRIPT5009: 'Resources' is undefined"

Image

'Combinedresources' was not behaving as expected.

Troubleshooting Steps

Setting the following keys in the Designer web config fixed the issue:

<add key="UseBundledFiles" value="false" />
<add key="Forms.PostRenderCombining.Enabled" value="false" />

How to set the keys:

1. Go to C:\Program Files (x86)\K2 blackpearl\K2 smartforms Designer.
2. Backup your web.config.
3. Search for the UseBundledFiles key and switch it to false.
4. Search for Forms.PostRenderCombining.Enabled key and switch it to false as well.
5. Do an IISReset and clear your browser cache.

'Post render combining settings' is a combined resource of CSS and script files after the Form has been rendered.