Last post Jul 15, 2011 10:04 AM by Hua-Jun Li - MSFT
Jul 12, 2011 01:02 AM|alex_brambila|LINK
Anyone have any experience with this captcha... http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx
I compiled it using VS2008 and targeted .netframework 3.5. Works fine on my dev machine (windows 7 32 bit); won't display the image on the test server (Windows Server 2008 Web 32 bit) . Granted apppool administrator rights, and verified http status=200
codes in log files - still no image.
Any troubleshooting tips, etc would be appreciated.
Jul 12, 2011 07:00 AM|v.arunkarthik|LINK
If ur not particular abt that control u can try a well known captcha control
Jul 12, 2011 07:06 AM|Sunil Prakash Paudel|LINK
you can try reCAPTCHA it's easy and faster as well.
Jul 12, 2011 07:17 AM|Balaguru.M|LINK
Try this One
//Add ReFerence of MSCaptcha.dll
//Add A TextBox Name It As
// drag a control of CaptchaControl in Web Page
// Add In Source File
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
// Add this Code on Web.config
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>
// Add this Code on Button Click
protected void Button1_Click(object sender, EventArgs e)
lblMessage.ForeColor = System.Drawing.Color.Green;
lblMessage.Text = "Valid";
txtCaptcha.Text = "";
CaptchaControl1.Visible = false;
lblMessage.ForeColor = System.Drawing.Color.Red;
lblMessage.Text = "InValid";
CaptchaControl1.Visible = true;
Jul 12, 2011 06:59 PM|alex_brambila|LINK
Thanks, mscapthcha worked just fine.
Jul 12, 2011 10:20 PM|alex_brambila|LINK
Well, i THOUGHT i was set. Turns out this captcha also does NOT display an image on the webserver (see original post above). Works fine in dev, naturally. On the test server there's no image. I get the same behavior from IE and Firefox. I double checked
that the web.config entry exists, and that the .dll and .xml files exist in the bin directory.
What I'm looking for is the IIS switch 'allow mscaptcha generated image' or something.
Any ideas how to troubleshoot this?
Jul 13, 2011 12:08 AM|alex_brambila|LINK
I didn't want to do it because I'm still a bit loyal to microsoft, but i had to go with google's recaptcha since i just couldn't get the mscaptcha server problem solved.
Jul 15, 2011 10:04 AM|Hua-Jun Li - MSFT|LINK
I have used this numerous times in several projects, and it's extremely simple to setup.
it is third party software, please care that.
Please check the following link: