Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everybody,
I have one problem with Captcha image.Its not displaying properly in my aspx page.
I added dll and xml required.Also I registered it in my aspx page.
<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
Also I added it in my web.config file...where might be the problem please help...
When i right click n see view image am getting 404 error..In my web.cofig file
I added like this
XML
<httpHandlers>
        <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
Posted
Comments
bbirajdar 13-Dec-12 9:53am    
what version of asp.net you are using?
from where did you get this captcha dll ?
what is the.net version of captcha dll?
Radhika Vyas 14-Dec-12 0:11am    
Hi
We recently shifted all files to another server..My version is asp.net 2.0...one more project using same dll is displaying the image propely...Dont know why this project is not displaying image properly even though settings are same...
Radhika Vyas 14-Dec-12 0:18am    
Version of my dll is 1.0.2832.11804

 
Share this answer
 
Hi, Radhika,

You can try with this...

XML
<system.webServer>
    <handlers>
       <add name="CAPTCHAHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
     </handlers>
 </system.webServer>
 
Share this answer
 
Comments
Deepu S Nair 14-Apr-15 6:45am    
Did you notice that this question is nearly 4 years old ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900