New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 4.x > New features > BizForms error View modes: 
User avatar
Member
Member
Jagr - 3/5/2009 7:38:51 AM
   
BizForms error
Hi everybody, I hope that somebody can help me here.

I followed the instructions from http://devnet.kentico.com/docs/devguide/creating_an_alternative_form.htm how to create one Alternative form and use it in BizForms.

After selection of Alternative form in BizForms I get following error:

[Error loading the WebPart 'BizForm']
Unknown server tag 'cms:BizForm'.


I checked the control source code and here is what I found:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="~/CMSWebParts/BizForms/bizform.ascx.cs" Inherits="CMSWebParts_BizForms_bizform" %>

<cms:BizForm ID="viewBiz" runat="server" IsLiveSite="true" />


I was upgrading to Kentico 4.0 from 3.1 version, but during upgrade there were no errors. How should I fix this?

The same thing happens when I try to use Custom Registration Form (only with tag cms:DataForm).

Thank You for Your help.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/5/2009 9:43:56 AM
   
RE:BizForms error
Hi,

Could you please confirm that you have modified the web.config file after upgrade per instructions?

I assume you are missing one of these lines in your web.config:

<add tagPrefix="cms" namespace="CMS.Controls" assembly="CMS.Controls" />
<add tagPrefix="cms" namespace="CMS.FormEngine" assembly="CMS.FormEngine" />
<add tagPrefix="cms" namespace="CMS.FormControls" assembly="CMS.FormControls" />
<add tagPrefix="cms" namespace="CMS.ExtendedControls" assembly="CMS.ExtendedControls" />
<add tagPrefix="cms" namespace="CMS.PortalControls" assembly="CMS.PortalControls" />


Best Regards,
Juraj Ondrus

User avatar
Member
Member
Jagr - 3/5/2009 10:03:05 AM
   
RE:BizForms error
Oh...thank You very much Juraj :)

I was missing the third line from this web.config section...

Somehow I missed it during my upgrade...

Cheers