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] -

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: 1
Comments: 76
Themes
Pick a theme:
All Content © 2010, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)