Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 24, 2012 10:24 PM by Ahmad Azizov
Jun 20, 2012 07:45 PM|LINK
Hi everyone,my captcha control works on the sample page that i downloaded. But it' doesn't work on the pages that i create. It shows a gray "broken document". Does anyone know why it does that?
my html codes for the captcha control (on my pages)
<cc1:CaptchaControl ID="CaptchaControl1" runat="server" Height="50px"
Width="180px" CaptchaLength="5" BackColor="#99FF33"
Thanks for your help!!!
Jun 20, 2012 08:38 PM|LINK
could it be that the captcha control is rendering wrong URL of the generated picture? Have you checked HTML source?
Jun 20, 2012 08:52 PM|LINK
I copied the html code from the sample page
Jun 20, 2012 09:28 PM|LINK
It's hard to say what the problem might be. Could you provide more details: rendered HTML, aspx and codebehind?
Jun 20, 2012 09:45 PM|LINK
Does the captcha control rely on anything else such as an imagehandler or a series of images in a folder? You may also want to look at the captcha's settings in the web.config to see if there is anything special in that sample that you are missing.
Jun 20, 2012 10:21 PM|LINK
There is no code, I downloaded the control itself yesterday. On one page that i downloaded from the same website as i downloaded the control itself (sample page) it works without any codes. Bun on my pages it does not show up
I downloaded it from here http://www.mondor.org/captcha.aspx
Jun 20, 2012 11:52 PM|LINK
Did you go through the "Installation Instructions" and "Essential Parameters" section on the link that you'd given and applied the changes (to your .aspx, web.config files) instructed?
Jun 23, 2012 03:32 PM|LINK
You better post this question on their forum too since this problem is related to their control. I think following section is the place to post your question.
Please 'Mark as Answer' if this post helps you.
Jun 23, 2012 03:44 PM|LINK
Jun 24, 2012 10:24 PM|LINK
Thank you very much, i hadn't done step 4, that's why it didn't work. But now it works. Thanks everyone!!!
Modify your web.config file, by adding this line to <httphandlers> section:
<add verb ="GET" path ="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler,