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

Captcha not load in Login Page

3 Answers 91 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Matteo Tognolo
Top achievements
Rank 1
Matteo Tognolo asked on 26 Sep 2011, 05:44 PM
I'm using Captcha Control in a my Login Page.

All the pages of website are protected from login, so in web.config I have set the <location> tag with attribute path="" to protect all pages like below:

 <location path="">
  <system.web>
   <authorization>
    <allow roles="aaa"/>
    <deny users="*"/>
   </authorization>
  </system.web>
 </location>

If I'm not logged, the Captcha doesn't show image. If I put it in a second page, after login I see correctly the image.

Is there anything to configure to show it in my case?

Thanks,

Matteo
 


3 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 29 Sep 2011, 09:16 AM
Hello Matteo,

The problem you have encountered most probably occurs because the image of the RadCaptcha is not available to the anonymous users. Please try the following code for the <location> tag in your web.config file:
<locationpath="Telerik.Web.UI.WebResource.axd">
    <system.web>
        <authorization>
            <allowusers="*"/>
        </authorization>
    </system.web>
</location>

Also, make sure that the <location> tag is placed at the bottom of the web.config, after the <system.web> and <system.webServer> tags.

I hope the provided information helps you resolve your issue.


All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Matteo Tognolo
Top achievements
Rank 1
answered on 29 Sep 2011, 10:37 AM
Hello,

thanks for reply, now it work correctly.

Bye,

Matteo
0
Paul
Top achievements
Rank 1
answered on 17 Oct 2011, 11:02 AM
abc
Tags
Captcha
Asked by
Matteo Tognolo
Top achievements
Rank 1
Answers by
Slav
Telerik team
Matteo Tognolo
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Share this question
or