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

Captcha in IE 9

10 Answers 139 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Arindam
Top achievements
Rank 1
Arindam asked on 11 Apr 2012, 02:39 PM
Telerik Captcha is not displaying most of the time in IE. Also it is not generating any new image , it displays grey box when clicked on "Generate New Image". I have tested in IE 9.

10 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 12 Apr 2012, 04:39 PM
Hello Arindam,

Most probably you are using the RadCaptcha control in a WebFarm/WebGarden environment. If this is the case, I would suggest checking this help article as it contains useful information for configuring the captcha control to work in such conditions.

Kind regards,
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
Arindam
Top achievements
Rank 1
answered on 13 Apr 2012, 10:24 AM
Thanks  for your reply. But i am not using it in any web farm or web garden environment. My system configuration is Windows server 2003 64bit edition. 
0
Slav
Telerik team
answered on 17 Apr 2012, 03:00 PM
Hello Arindam,

Please check the following suggestions:

  • Ensure that you have correctly registered the HttpHandlers that serves the CaptchaImage in your configuration file, as shown in the this help article.
  • Are you using any kind of user authentication and authorization in your application? If yes, please make sure you have allowed access to the RadCaptcha httpHandler to all users as shown in the following code snippet:
    <location path="Telerik.Web.UI.WebResource.axd">
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </location>
  • Please provide a screenshot of how the Captcha looks.
  • Open the Firefox browser and enable FireBug. You need to enable the Netmonitoring tool. Please load your page and check if the web resources are loaded correctly. If not, they will be displayed in red color. What is the information displayed in the Response string? Note that Internet Explorer offers similar tool if you prefer to use it.

A live URL to the page that contains the problematic RadCaptcha and the web.config of your application could also be useful for isolating the issue at hand.

Kind regards,
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
Arindam
Top achievements
Rank 1
answered on 18 Apr 2012, 06:14 AM
Ensure that you have correctly registered the HttpHandlers that serves the CaptchaImage in your configuration file, as shown in the this help article.  -- Yes i have registered it properly as explained in help article.

Are you using any kind of user authentication and authorization in your application? If yes, please make sure you have allowed access to the RadCaptcha httpHandler to all users as shown in the following code snippet: -- No i am not using any authorization/authentication for my application. I am using this to avoid any spam/bot.

Please provide a screenshot of how the Captcha looks. -- I have attached the screenshot. I have taken the screenshot in IE 7.

Open the Firefox browser and enable FireBug. You need to enable the Netmonitoring tool. Please load your page and check if the web resources are loaded correctly. If not, they will be displayed in red color. What is the information displayed in the Response string? Note that Internet Explorer offers similar tool if you prefer to use it. -- I have checked using Fiddler, event there is no image coming, but in IE it is coming with grey box.

0
Slav
Telerik team
answered on 20 Apr 2012, 12:23 PM
Hello Arindam,

Please check if the live server performs some kind of URL rewriting, which results in problems with accessing the requested resource. Is the cache or the session disabled on your server?

Also, you mentioned only the effect under IE. Does the grey box appear when examining the page with other browsers?

In order to provide a more to the point answer I will need additional information about your setup.  Please send a live URL to the problematic page, the markup of the RadCaptcha control, the web.config used in your project so that we can learn more about your configuration. If you are not able to send a URL, you can use the screen capture tool Jing in order to record the issue and the exact message, provided by Fiddler about the missing image.

Greetings,
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
Arindam
Top achievements
Rank 1
answered on 23 May 2012, 08:44 AM
Here is the screencast link for captcha in IE , i have used IE 7

http://screencast.com/t/oKtLHjprcbN .
 
I have checked that server don't perform any URL re-write.
For other broswser it works some times and some times with grey box. I have tested this in several systems also.

In Page i have used this code snippet

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><br>                                       <telerik:RadCaptcha ID="radCaptcha" runat="server" CaptchaImage-RenderImageOnly="true"<br>                                        ValidatedTextBoxID="txtCaptcha" CaptchaImage-TextChars="LettersAndNumbers" ErrorMessage="Invalid code"<br>                                        ValidationGroup="CaptchaGroup" EnableRefreshImage="true" />


In Web.config i have used this
 <system.web><br>  <httpHandlers><br>      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/><br>    </httpHandlers><br> </system.web>
0
Slav
Telerik team
answered on 24 May 2012, 03:54 PM
Hi Arindam,

Please ensure that you are not using a WebGarden. You can do so by checking if the number of Worker Processes in the AppPool that you are currently using is more than one.

So far I have mentioned the main scenarios, in which you can encounter the grey image issue. Since none of them are related to your case, most probably the cause is specific to the setup of your project. In order to help you accordingly, I will need to reproduce your problem. Please open a support ticket and isolate the problem in a simple, runnable project so that I can inspect it locally and provide a solution based on your configuration. A live URL to your page could also be useful for determining the cause of the issue.

Greetings,
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
Arindam
Top achievements
Rank 1
answered on 24 May 2012, 06:15 PM
Hi team

Thanks for your reply. I am not using telerik captcha not in web garden configuration , it is hosted as simple web site . I will check for worker process and update you on this. And also i will put captcha in a separate project and will give you the live link to that page.
0
Ahmed
Top achievements
Rank 1
answered on 05 Apr 2014, 12:03 PM
Hi Telerik Team, I am facing the same problem, I have configured telerik recaptcha to save in a session, also httphandler is configured well and enabled on IIS, what is the solution?
0
Slav
Telerik team
answered on 09 Apr 2014, 10:03 AM
Hello Ahmed,

Please check the following article if you are using the RadCaptcha control in a load balanced environment: http://www.telerik.com/help/aspnet-ajax/captcha-webfarm-and-webgarden.html

If this is the case and you have configured both the ImageStorageLocation and the WebResource HttpHandler, you need to also ensure that your environment is using out of process Session State as described in the help article above.

If your project is not running in a web farm or a web garden, I would suggest opening a support ticket in order to send a fully runnable sample that isolates the configuration of the captcha so that I can inspect it locally. It will also be helpful if you can include the version of UI for ASP.NET AJAX that you are currently using.

Regards,
Slav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Captcha
Asked by
Arindam
Top achievements
Rank 1
Answers by
Slav
Telerik team
Arindam
Top achievements
Rank 1
Ahmed
Top achievements
Rank 1
Share this question
or