CAPTCHA not showing - Forms Renderer

Topics: Standard packages, Troubleshooting
Jul 6, 2011 at 3:24 PM

Hi all,

I have a C1 site running under an IIS alias, i.e.


The Forms Renderer generates an absolute path for the CAPTCHA image which doesn't work, e.g.


Anyone know of a workaround?



Jul 6, 2011 at 4:22 PM


As the workaround try to open file ~\Frontend\Composite\Forms\Renderer\Controls\FormsRender.ascx.cs, locate method GetCaptchaImageUrl() and try to add "~" before  the path, like this:

public string GetCaptchaImageUrl(string encryptedCaptchaValue)
		var url = new UrlBuilder("~/Renderers/Captcha.ashx");
		url["value"] = encryptedCaptchaValue;
		return url.ToString();

I will report the bug.

Jul 6, 2011 at 4:25 PM

Thanks Inna I'll give that a try.