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