Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have some pages on my web application that require the use of CAPTCHA images. In order to dynamically generate these images, I have a <asp:Image> which has the ImageUrl referencing the CImage.aspx page.

The CImage.aspx page randomly generates the CAPTCHA .jpg upon page load. The problem is that this doesn't not work on my IIS8.5 server. It works just fine on my local machine when testing with Visual Studio.

From what I can find with simple google searches, I believe this has to do with the Handler Mappings in IIS... However, I could not quite figure out what I needed to do to get it to work...

The code I'm using for the CAPTCHA comes from: Captcha Image using C# in ASP.NET[^]
Posted

Member 12135334 wrote
I believe this has part of the answer but I'm not great at translating the VB…
If your main problem is just translation, you can easily do it automatically: Code Interpretation, C# to VB.NET[^].

I would like to emphasize the easy and good quality of the off-line translation with open-source ILSpy, but to use it, you will need to put all the code you need to use in some project, build an assembly and then disassemble it with ILSpy. The quality and reliability well worth the effort.

—SA
 
Share this answer
 
I believe this has part of the answer but I'm not great at translating the VB ... A CAPTCHA Server Control for ASP.NET[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 22-Dec-15 18:12pm    
Sorry, this is not an answer. Such posts are considered as abuse. You have to add it to the body of your question, using "Improve question" and remove this post, to avoid possible abuse reports and down-voted.
—SA

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