Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Error loading the control 'BizFormControl' View modes: 
User avatar
Member
Member
tripletdad99 - 2/16/2010 7:32:37 PM
   
Error loading the control 'BizFormControl'
I created a new site and used the Web Site Template "Internet Services Template" (found here: http://devnet.kentico.com/Marketplace/Web-Site-Templates/Internet-Services-Template.aspx)

Next, I created a new BizForm - "Contact Us"

Now, I'm getting the following error:

Error loading the control 'BizFormControl': Value cannot be null. Parameter name: virtualPath

I do not get this error on the default "Corporate Site" example.

User avatar
Member
Member
tripletdad99 - 2/21/2010 2:57:03 PM
   
RE:Error loading the control 'BizFormControl'
I should probably also point out that I did rename the site from "OSWDInternetServices" to something else for my needs. Why would that matter? Thinking back, that's really about the only thing I changed from the original template.


User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 2/23/2010 9:03:34 AM
   
RE:Error loading the control 'BizFormControl'
Hello,

The renaming does not affect this issue. It causes the missing BizForm inline control.
The BizForm web part works correctly but the inline control needs to be imported or created by other sample site. I will send you the export package with BizForm inline control.

For others: You may install the Blank site where the BizForm control is included and then you can delete it. The object will remain in the system.


Best regards,
Helena Grulichova

User avatar
Member
Member
tripletdad99 - 2/23/2010 9:38:18 AM
   
RE:Error loading the control 'BizFormControl'
Helena:

I did export the "Contact Us" BizForm directly from a standard "Corporate Site" install. That imported without issue.

I'm not sure what testing you did... but in my testing - if I setup a new site using the
"Internet Services Template"by Jakub Hanak (Kentico) -- and if I changed nothing, just accepted all the defaults (including the site name)... then imported the previously mentioned "Contact Us" BizForm, it worked just fine. If, however, I change the site name (as you would naturally want to do) - the BizForm does not display.

I have re-created this site three times now, and so - unless I'm missing something obvious here (that is possible :-), I'm pretty sure there's a problem with that particular site template.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 2/24/2010 2:30:44 PM
   
RE:Error loading the control 'BizFormControl'
Hello,

I am not sure about your scenario. I was trying to reproduce it but I was not successful.

1. I follow the KB to create the site with that template.

2. I import the Contact us BizForm from Corporate site.

3. I add the BizForm inline control via WYSIWYG Editor.

--It is not working because there is not a BizForm inline control.

4. I import the BizForm inline control.

--Now, it is working.

5. I change the site name (even the site code name).

--Contact us BizForm is working correctly.

Could you please point me where I am making a mistake?


Best regards,
Helena Grulichova