MSCaptcha Web.config httpHandler Error
asp.net, c#, recaptcha, web-config
Solution
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
Problem
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.