Mondor Captcha image not showing when deployed in IIS 8 server

bi2mon
 
on Feb 02, 2016 02:36 AM
4651 Views

Hi,

I have implemented captcha control in my webpage based on the article How to implement Captcha in ASP.Net.

It is working fine when running through the VS IDE, but when i deployed the website in IIS 8 (Windows 8.1) server the captcha image does not show. 

Please help on this problem?

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Shashikant
 
on Feb 02, 2016 03:53 AM

Hi,

Web.Config Configuration
You will need to add the following handler to <httpHandlers> in <system.web> section of your Web.Config.
 
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>
 
And add the following handler to <handlers> in <system.webServer> section of your Web.Config.
 
<add name="CaptchaImage" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>