Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

configure web config for captcha using IIS7

Posted on 2011-02-15
4
Medium Priority
?
3,954 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

670 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