Reputation: 1261
i m using a dll file MSCaptcha.dll for my web application its works fine on localhost but not with iis server..what should i do to make it work
Upvotes: 1
Views: 7782
Reputation: 2607
I had this problem and this worked for me.
In your web.config, instead of having the path as "CaptchaImage.axd":
<system.webServer>
<handlers>
<add name="MSCaptcha.captchaImageHandler" verb="GET" path="CaptchaImage.axd" type="MSCaptcha.captchaImageHandler, MSCaptcha" resourceType="Unspecified"/>
</handlers>
</system.webServer>
Try changing the path to "~/CaptchaImage.axd":
<system.webServer>
<handlers>
<add name="MSCaptcha.captchaImageHandler" verb="GET" path="~/CaptchaImage.axd" type="MSCaptcha.captchaImageHandler, MSCaptcha" resourceType="Unspecified"/>
</handlers>
</system.webServer>
Upvotes: 0
Reputation: 31
Solution :
Upvotes: 3