Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As per subject above.

I did add the built in Captcha control from CMSFormControls.
But receiving error
[Error loading the WebPart 'MyCaptcha' of type 'MyCaptcha']
Unable to cast object of type 'ASP.cmsformcontrols_captcha_Captcha_Simple_aspx' to type 'CMS.PortalControls.CMSAbstractWebPart'.

I already tried the entire day.
Adding a field named as SecurityCode.

All wasn't working.

Do any guys out there know the issue?
or
If there another workaround?

Thank you
Posted
Updated 11-Feb-14 18:29pm
v2

1 solution

You can't cast captcha control to CMSAbstractWebPart because it is a FormEngineUserControl not a webpart.
Because you try to add a captcha control to a page I suppose you have a on-line form(formerly BizForm) on it. Then you have to add a new field to that form and select it's type as one of the captcha controls.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900