HTTP 403 error when using radCaptcha in sharepoint

3 posts, 0 answers
  1. Joe Shepherd
    Joe Shepherd avatar
    1 posts
    Member since:
    Oct 2009

    Posted 12 Oct 2009 Link to this post

    Hi -

    I'm attempting to use the radCaptcha control in a WSS 3.0 application and running into some issues.  The use case is for users to request login credentials by filling out a form (with the captcha) and getting credentials emailed to them later.  Given that the user is unauthorized, I'm assuming that I need to add a <location> block to the application's web.config for the captcha image handler, but I have no idea where that guy lives in a sharepoint environment.

  2. Pero
    Pero avatar
    1156 posts

    Posted 15 Oct 2009 Link to this post

    Hello Joe,

    The RadCaptcha control uses an httpHandler to render the image (the image is served by an httpHandler), that needs to be registered in the web.config file of the application. If you have registered this handler than you can add the <location> block in this configuration file.

    In case you have not registered the handler, the default configuration file for the wss application can be found at: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config. The following lines need to be added to register the RadCaptcha handler:
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
         <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> 

    Please do not hesitate to contact us if you have other questions.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Chris
    Chris avatar
    20 posts
    Member since:
    Mar 2007

    Posted 22 Feb 2010 Link to this post

    Joe and Pero,

    Thanks for posting this detailed support thread,

    I am using DotNetNuke (DNN) and had an issue with the Captcha not rendering / not displaying.

    After adding these two lines of code (above) to the web.config file, everything worked.

    I also noted that the Captcha had to be running with ImageStorageLocation="Cache" (default).

    Best Regards,
Back to Top