The captcha image is not rendered and I receive an error

Mar 7, 2013 at 9:12 AM
The Captcha image is not rendered and I receive the following error:
"No component for supporting the service CaptchaMvc.Controllers.DefaultCaptchaController was found" from WindsorControllerFactory. Any clue?
Coordinator
Mar 7, 2013 at 12:33 PM
Hi there,

This means that you do not register the controller from CaptchaMvc assembly.
I think that you should write this code and it will work:
container.RegisterControllers(typeof(CaptchaMvc.Controllers.DefaultCaptchaController).Assembly);
Regards,
Vyacheslav Volkov
Mar 7, 2013 at 12:46 PM
VVS0205 wrote:
Hi there,

This means that you do not register the controller from CaptchaMvc assembly.
I think that you should write this code and it will work:
container.RegisterControllers(typeof(CaptchaMvc.Controllers.DefaultCaptchaController).Assembly);
Regards,
Vyacheslav Volkov
Yes indeed. It took me a few hours to find it in a spaghetti-like code. Anyway, thank you Vyacheslav :)