Avatar of llj45
llj45

asked on 

configure web config for captcha using IIS7

Hi,
  I found:
https://www.experts-exchange.com/questions/24170316/CaptchaImage.html
and
http://arcware.net/use-a-single-web-config-for-iis6-and-iis7/ .
  However, I still need help making the captcha example found at:
http://www.mondor.org/captcha.aspx
to work on IIS7 and .NET 3.5 .

  I followed the directions on mondor.org.  I was able to get this captcha to work on a local install of IIS 5.2 and .NET 3.5 on Windows XP SP 3.

  Currently, I have:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<add name="ews" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>
</modules>

<handlers accessPolicy="Read, Write, Script, Execute">
<add name="ews" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>
</handlers>
These pages are located on a private web server with a 10. IP address, not the local machine.  This server runs Windows Server 2008.

How should web config file be written to make the captcha appear on the credit payment page inside a larger system?

  Currently, the error in the browser is:
System.Configuration.ConfigurationErrorsException: MSCaptcha.CaptchaImageHandler, MSCaptcha does not implement IHttpModule.

Thanks, LLJ45
ASP.NET

Avatar of undefined
Last Comment
llj45
ASKER CERTIFIED SOLUTION
Avatar of Kalpesh Chhatrala
Kalpesh Chhatrala
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of llj45
llj45

ASKER

Hi, Siyamala
  This site is already created on the IIS 7 web server.  The site functions normally and properly except for displaying the captcha image.
Any suggestions along these lines using the information in my first post would be more helpful.
Thanks, LLJ45
Avatar of llj45
llj45

ASKER

Also, if you had access the web server, another possible solution would be to put the IIS7 web site's application pool into classic mode as opposed to integrated.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo