Developing in K2 SmartForms
I recently upgraded a clients K2 installation to the current version 4.6.6 everything went swimmingly well. It wasn’t until after I went to deploy an updated Smartforms package that I ran into the following error:
The sourceCode.extensibility.primaryCatalog configuration section is missing
It’s not uncommon for K2 updates to over-right settings in the K2HostServer.exe.Config. So, I ended up repairing the K2 Package and Deployment application by just running the K2 Package and Deployment Setup Manager.
It turns out that this is a known issue and outlined in the KB article KB001569 – it appears that this is also applicable to upgrading a K2 Blackpearl Installation.
From the KB: After repairing a K2 Blackpearl installation, the Package and Deployment installation within the same environment does not function correctly, and an error stating‘System.Configuration.ConfigurationErrorsException: The sourceCode.extensibility.primaryCatalog configuration section is missing…’ is given.
Workaround: After repairing K2 Blackpearl, the Package and Deployment ‘reconfigure’ option must be chosen from the K2 Package and Deployment Setup Manager.
Here’s a link to the KB Article – KB001569: K2 Package and Deployment (4.13210.1.0) Known Issues List
After rerunning the K2 Package and Deployment Setup Manager everything seemed to be working again.