This is a migrated thread and some comments may be shown as answers.

Image does not display for Telerik RadCaptcha control

1 Answer 216 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Zaki
Top achievements
Rank 1
Zaki asked on 28 Mar 2016, 02:56 PM
I have a Telerik RadCaptcha control on my login page. However, despite all the settings and references included, the image does not display. It is working alright though, it is validating the captcha. The only problem is that since the image does not display, there is no way anybody can get it right.  Have attached a snapshot too.

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 31 Mar 2016, 12:38 PM
Hi Zaki,

When you are using authentication you should allow access to the RadCaptcha httpHandler to all users as shown in the following code snippet:
<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
        <authorization>
            <allow users="*"/>
        </authorization>
    </system.web>
</location>

Another possible cause for the problem can be if you are deploying you application into a load balanced environment, but the Captcha's image is stored in the application's cache instead of the session. You can refer the following help article for more details on how to configure RadCaptcha to work properly in such scenario:
http://docs.telerik.com/devtools/aspnet-ajax/controls/captcha/troubleshooting/using-webfarm-or-webgarden-environment

Regards,
Vessy
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Captcha
Asked by
Zaki
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or