Bloggin in the UK RSS 2.0
 Wednesday, July 15, 2009
We have recently started using IIS 7.0 in our test environment when we deployed our application that uses the BotDetect Captcha control the image stopped being displayed.

So far we have found one way of fixing this, we switched the default Integrated Application Pool Pipeline Mode over to Classic.

To do this simply go into the properties of the Application Pool in which your web application resides inside and change the setting, refresh your page and bingo you should see the Captcha image.

I was just looking at the technical FAQ on the Lanap software website and they suggest that you can make changes in the web.config to achieve the same result without moving to Classic mode. Below is there suggestion I have not tested this but expect is should work.

<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<remove name="LanapCaptchaHandler"/>
<add name="LanapCaptchaHandler" preCondition="integratedMode"
verb="*" path="LanapCaptcha.aspx"
type="Lanap.BotDetect.CaptchaHandler, Lanap.BotDetect" />
</handlers>
</system.webServer>

Wednesday, July 15, 2009 9:33:59 PM (GMT Standard Time, UTC+00:00)  #    Comments [3] -

Tuesday, July 28, 2009 1:46:01 PM (GMT Standard Time, UTC+00:00)
It works fine. Great stuff!
Thursday, October 15, 2009 1:44:03 PM (GMT Standard Time, UTC+00:00)
Charlie - i'm trying out botDetect and based on the Lanap sample code - the submit function is executed before the botDetect validation - how did you work around this?
Tuesday, October 20, 2009 6:32:52 PM (GMT Standard Time, UTC+00:00)
Hi Sandy,

I did not work on this directly, so I am not much use and the developer who did has left so I cannot ask him. Sorry about that.

C
Charlie
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010
Charlie Barker
Sign In
Statistics
Total Posts: 163
This Year: 5
This Month: 1
This Week: 0
Comments: 76
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)