Captcha not load in Login Page

4 posts, 0 answers
  1. Matteo Tognolo
    Matteo Tognolo avatar
    3 posts
    Member since:
    Feb 2010

    Posted 26 Sep 2011 Link to this post

    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
     


  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 29 Sep 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matteo Tognolo
    Matteo Tognolo avatar
    3 posts
    Member since:
    Feb 2010

    Posted 29 Sep 2011 Link to this post

    Hello,

    thanks for reply, now it work correctly.

    Bye,

    Matteo
  5. Paul
    Paul avatar
    8 posts
    Member since:
    Oct 2011

    Posted 17 Oct 2011 Link to this post

    abc
Back to Top