Solved

configure web config for captcha using IIS7

Posted on 2011-02-15
4
3,710 Views
Last Modified: 2012-05-11
Hi,
  I found:
http://www.experts-exchange.com/Programming/Languages/.NET/Q_24170316.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
0
Comment
Question by:llj45
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
Comment Utility
0
 
LVL 5

Expert Comment

by:Siyamala
Comment Utility
0
 

Author Comment

by:llj45
Comment Utility
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
0
 

Author Closing Comment

by:llj45
Comment Utility
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.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now