I would like to use Recaptcha in my project and i have the following problem in my web.config file .
<httpHandlers>
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
</httpHandlers>
<pages>
<controls>
<add tagPrefix="cc1" assembly="MSCaptcha" namespace="MSCaptcha" />
</controls>
</pages>
My error:
HTTP Error 500.23 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes:
This application defines configuration in the system.web/httpHandlers section.
It seems that you are running your application in Integrated mode on IIS 7.0 or higher.
When running in Integrated mode, you should register your HTTP Handlers like this:
<configuration>
<system.web>
....
</system.web>
<system.webServer>
<handlers>
<add name="CAPTCHAHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha" />
</handlers>
</system.webServer>
</configuration>
Regards, Uros
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With