We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Captcha Authentication failed.

Thread ID:

Created:

Updated:

Platform:

Replies:

123274 Mar 2,2016 03:32 PM UTC Mar 4,2016 12:00 PM UTC ASP.NET Web Forms 2
loading
Tags: Captcha
bloatus
Asked On March 2, 2016 03:32 PM UTC

Hello,

Visual studio 2010
ASP.net
.net 4.0

I am trying to add a Captcha to one of my screens. I followed the instructions in the documentation and I am getting an Error 401:  Authentication failed. I feel that I may not have all the references needed. I created a new sample project using the template provided in visual studio and it worked correctly but it has lots of references that I don't need? Or should I add all the references and not worry about it? What are the minimum references needed for the captcha to work?

Thank you for your time.

bloatus
Replied On March 2, 2016 04:10 PM UTC

I am using Essential studio Version=13.3400.0.7

Arun Palaniyandi [Syncfusion]
Replied On March 4, 2016 12:00 PM UTC

Hi Cliff,
 
We regret for the inconvenience caused.
 
 
Query #1:”I am trying to add a Captcha to one of my screens. I followed the instructions in the documentation and I am getting an Error 401:  Authentication failed. I feel that I may not have all the references needed.”

The version details are not properly updated in UG so the Captcha control did not render in your sample. Currently we are revamping the documentation and it will be refreshed shortly.

To add the Captcha Control in your screen, just drag and drop the captcha control from toolbox in design view which will prompt about adding the handlers in web.config, give okay for that alert. After that include the Syncfusion.EJ assembly in reference and then run the sample. Please refer the below given code snippet,

<code>

[webconfig]

<system.web>

    <httpHandlers>

<add verb="*" path="captimage.axd" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=13.3400.0.7, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

    </httpHandlers>

</system.web>

<system.webServer>

          <handlers>

          <add verb="*" path="captimage.axd" name="syncfusion_generatetools" type="Syncfusion.JavaScript.ImageHandler,Syncfusion.EJ, Version=13.3400.0.7, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

         </handlers>

           <validation validateIntegratedModeConfiguration="false"/>

</system.webServer>

</code>


The specified issue “Error 401: Authentication failed” error will come when application hosted in IIS and access the application. So could you please share more details about this issue?.


Query #2:” I created a new sample project using the template provided in visual studio and it worked correctly but it has lots of references that I don't need? Or should I add all the references and not worry about it? What are the minimum references needed for the captcha to work?”
 
There is no need to include all the reference for Captcha control. Please include the following reference alone in web application.
 

·         Syncfusion.EJ

·         Syncfusion.EJ.Web
 

We have prepared the simple sample to showcase the captcha control and please find the sample under the following location,
http://www.syncfusion.com/downloads/support/forum/123274/ze/sample123274-1742420204
 

Please let us know if you have further queries,                                 

Regards,

Arun P


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;