Solved

configure web config for captcha using IIS7

Posted on 2011-02-15
4
3,908 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
ID: 34903456
0
 
LVL 5

Expert Comment

by:Siyamala
ID: 34905533
0
 

Author Comment

by:llj45
ID: 34907141
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
ID: 34908065
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

628 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