Thanks Anton
I did see that post and have set IsLiveSite to true but I cannot set ContextName (cms_CustomBizForm.ControlContext.ContextName) as it says that ControlContext is a readonly string.
I tried cms_CustomBizForm.SetContext(); in SetUpControl() but that doesn't help.