Deploying BotDetect (formerly Lanap) Captcha on IIS7

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.

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

4 thoughts on “Deploying BotDetect (formerly Lanap) Captcha on IIS7”

  1. 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?

  2. 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.


Comments are closed.