Hi Team,
Hope you are doing well.
We recently upgraded K2 Five 5.8 to K2 Five 5.9 successfully. After the upgrade, all our DLL-based custom controls stopped working.
We have spent considerable time troubleshooting the issue and performed multiple tests, including:
- Simplifying the custom control implementation to a basic "Hello World" control.
- Creating brand-new views.
- Re-registering the custom control.
- Testing with different custom controls.
- Testing with the official K2 custom control sample.
- Verifying that the custom control assemblies load correctly.
- Checking assembly dependencies and runtime DLL loading.
The outcome is always the same.
Browser Error
Server Error
Exception of type 'System.Web.HttpUnhandledException' was thrown.
Extender control
'00000000-0000-0000-0000-000000000000_6fa2dcf8-4254-01d5-8499-ebfa1ffd64b0'
is not a registered extender control.
Extender controls must be registered using RegisterExtenderControl()
before calling RegisterScriptDescriptors().
Parameter name: extenderControl
(HTTP 500 Error)
Runtime Log Error
The K2 Runtime logs show the following exception before the browser error occurs:
System.NullReferenceException
at SourceCode.Forms.Rendering.Web.FlowRenderer.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at SourceCode.Forms.Web.Runtime.View.DoLoad()
This exception consistently occurs while K2 is rendering the view.
Important Findings
- The same custom controls work correctly on K2 Five 5.8.
- The issue started only after upgrading to K2 Five 5.9.
- The official K2 custom control sample also exhibits the same behavior.
- A colleague from another organization reported experiencing the same issue after moving to K2 5.9.
- Standard SmartForms controls work normally.
- The custom control DLL loads successfully and the assemblies are readable.
- The failure appears to occur inside SourceCode.Forms.Rendering.Web.FlowRenderer.CreateChildControls() before the custom control lifecycle begins.
Your support would be greatly appreciated.
Kind regards,

