image not showing (new iis)

2 posts, 0 answers
  1. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 21 Sep 2011 Link to this post

    hi
    I'm in the process of moving a site from a win2003 server to a win2008r2 server.
    On my login page I'm using a RadCaptcha image that is now showing a broken link in stead of a captcha image (see src property in code snippet below).
    I think it could be a write permissions issue, however, I'm unsure how/where to change what.
    Any suggestions?

    <telerik:RadCaptcha ID="CaptchaImage" runat="server" ErrorMessage="Entered code as displayed" 
    CaptchaTextBoxLabel="" />
    

    <div id="ctl00_cph_cnt_CaptchaImage" class="RadCaptcha RadCaptcha_Default">
        <!-- 2011.2.915.40 --><span id="ctl00_cph_cnt_CaptchaImage_ctl00" style="color:Red;visibility:hidden;">Entered code as displayed</span><div id="ctl00_cph_cnt_CaptchaImage_SpamProtectorPanel">
            <img id="ctl00_cph_cnt_CaptchaImage_CaptchaImage" alt="" src="Telerik.Web.UI.WebResource.axd?type=rca&guid=a4dfd827-ddb3-4dd6-b837-01385b3dc115" style="height:50px;width:180px;border-width:0px;display:block;" /><p><input name="ctl00$cph_cnt$CaptchaImage$CaptchaTextBox" type="text" maxlength="5" id="ctl00_cph_cnt_CaptchaImage_CaptchaTextBox" title="" /><label for="ctl00_cph_cnt_CaptchaImage_CaptchaTextBox" id="ctl00_cph_cnt_CaptchaImage_CaptchaTextBoxLabel"></label></p>
        </div><input id="ctl00_cph_cnt_CaptchaImage_ClientState" name="ctl00_cph_cnt_CaptchaImage_ClientState" type="hidden" />
    </div>

    in my web.config I have:
    <httpHandlers>
        <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
    </httpHandlers>

    adding:
    <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
    <authorization>
    <allow users="*"/>
    </authorization>
    </system.web>
    </location>

    didn't solve the issue
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 23 Sep 2011 Link to this post

    Hi Morten,

    Please check the following articles, which contain useful information concerning deployment of the RadControls for ASP.NET AJAX on a production server:
    Troubleshooting deployment on the production server
    Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode

    If the help articles above are not enough to resolve the issue, could you please provide more information about the problem, so that we are able to provide a full support on the matter at hand?

    The following questions will help us learn more about the issue, if you can answer them:

    • Is your local server environment, a WebGarden or WebFarm?
    • If the above is true, have you configured your environment to use out of process Session?
    • Have you correctly registered the HttpHandlers that serve the CaptchaImage in your configuration file? Please note that you must register the httpHandler in both <system.web> ------> <httpHandlers>, and <system.webServer> -------> <handlers>. The first one is for earlier versions of IIS, and the second for later.
    • 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.
    • Which version of RadControls for ASP.NET AJAX are you using?
    • Please provide a screenshot of how the Captcha looks.
    • Open the FireFox browser and enable FireBug. You need to enable the Net monitoring tool. Please load your page and check if the webresources are loaded correctly. If not, they will be displayed in red color. What is the information displayed in the Response string?

    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
Back to Top