Click here to Skip to main content
11,482,402 members (72,751 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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
<httpHandlers>
        <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
Posted 13-Dec-12 2:46am
Comments
aspnet_regiis -i at 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 at 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 at 14-Dec-12 0:18am
   
Version of my dll is 1.0.2832.11804
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hi, Radhika,

You can try with this...
 
<system.webServer>
    <handlers>
       <add name="CAPTCHAHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
     </handlers>
 </system.webServer>
  Permalink  
Comments
Deepu S Nair at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 14 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100