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)
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.
Don't forget to mark useful responses as Answer if they helped you towards a solution.
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
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?
Please remember to click “Mark as Answer” on the post that helps you and to unmark it if a marked post does not actually answer your question.
Thank you!
----------------------
"Microsoft Community Contributor Award 2011"
Marked as answer by Ahmad Azizov on Jun 24, 2012 10:23 PM
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.
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: <addverb="GET"path="CaptchaImage.axd"type="MSCaptcha.CaptchaImageHandler,
MSCaptcha"/>
Ahmad Azizov
Member
117 Points
98 Posts
Captcha control
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"
EnableViewState="False" />
Thanks for your help!!!
Marek Cambal
Member
182 Points
36 Posts
Re: Captcha control
Jun 20, 2012 08:38 PM|LINK
Hi,
could it be that the captcha control is rendering wrong URL of the generated picture? Have you checked HTML source?
Marek.
Blog
Ahmad Azizov
Member
117 Points
98 Posts
Re: Captcha control
Jun 20, 2012 08:52 PM|LINK
I copied the html code from the sample page
Marek Cambal
Member
182 Points
36 Posts
Re: Captcha control
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?
Marek.
Blog
markfitzme
Star
14433 Points
2227 Posts
Re: Captcha control
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.
Ahmad Azizov
Member
117 Points
98 Posts
Re: Captcha control
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
santa_1975
Star
8574 Points
1499 Posts
Re: Captcha control
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?
Thank you!
----------------------
"Microsoft Community Contributor Award 2011"
Ruchira
All-Star
42975 Points
7025 Posts
MVP
Re: Captcha control
Jun 23, 2012 03:32 PM|LINK
Hello,
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.
http://forum.freelance.lv/index.php?PHPSESSID=0cb3fb756db580016542007bb15779e5&board=9.0
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.mudassarkhan
All-Star
78956 Points
13402 Posts
MVP
Re: Captcha control
Jun 23, 2012 03:44 PM|LINK
Refer
http://www.aspsnippets.com/Articles/Free-ASP.Net-Mathematical-Captcha-Control-in-VB.Net-and-C.aspx
http://www.aspsnippets.com/Articles/How-to-implement-Captcha-in-ASP.Net.aspx
Contact me
Ahmad Azizov
Member
117 Points
98 Posts
Re: Captcha control
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, MSCaptcha "/>