Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file

10 posts, 0 answers
  1. Vinoth
    Vinoth avatar
    25 posts
    Member since:
    Aug 2012

    Posted 28 May 2012 Link to this post


    PROBLEM
    Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

    My Web Config;

    <modules runAllManagedModulesForAllRequests="true" >
          <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
        </modules>
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated" />
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <remove name="ChartImageHandler" />
     
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
          <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          <add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />
        </handlers>
    <httpHandlers>
          <remove path="*.asmx" verb="*" />
       <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler" validate="false" />
            
        </httpHandlers>
  2. Rumen
    Admin
    Rumen avatar
    13055 posts

    Posted 28 May 2012 Link to this post

    Hi,

    My suggestion is to:
    1. open the web.config file and replace all Telerik.Web.UI.DialogHandler.aspx instances with Telerik.Web.UI.DialogHandler.axd
    2. and set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"


    All the best,
    Rumen
    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. Jon
    Jon avatar
    7 posts
    Member since:
    Feb 2014

    Posted 24 Feb 2014 in reply to Rumen Link to this post

    This made me get 404 instead of 403.1
  4. Jon
    Jon avatar
    7 posts
    Member since:
    Feb 2014

    Posted 24 Feb 2014 in reply to Jon Link to this post

    Sorry, I had forgotten to deploy. This works well.
  5. WEBSRFR
    WEBSRFR avatar
    15 posts
    Member since:
    Mar 2004

    Posted 03 Jan 2015 Link to this post

    I just had the same issue with the following error message and I have attached an image of the error message. 

    "Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file."

    The instructions on the thread saved me as I was able to make the error go away after opening the web.config file and replacing all Telerik.Web.UI.DialogHandler.aspx instances with Telerik.Web.UI.DialogHandler.axd and then setting the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"

    I am confused why I received this error message though as I have a default and unchanged latest build of the ASP.Net AJAX controls. Is something wrong with my installation that I had to change these settings for the Editor dialogs to work or do these settings need to be changed on every Telerik Controls installation?
  6. Ianko
    Admin
    Ianko avatar
    1698 posts

    Posted 06 Jan 2015 Link to this post

    Hello,

    It depends on the situation. Basically, this happens when the URL (the root path) has been dynamically  changed. For example:

    • Usage of URL rewriter;
    • In SharePoint;
    • In other CMS application.

    Regards,

    Ianko
    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.

     
  7. WEBSRFR
    WEBSRFR avatar
    15 posts
    Member since:
    Mar 2004

    Posted 06 Jan 2015 in reply to Ianko Link to this post

    This work around is going to become increasingly popular I think because just like Bootstrap, friendly URLs are now becoming a part of default ASP.net projects. Would be great if the next build by default would support Friendly URLs without needing changes.
  8. Ianko
    Admin
    Ianko avatar
    1698 posts

    Posted 08 Jan 2015 Link to this post

    Hi,

    Friendly URL matter is not something that can be enabled or configured when it comes to handlers or requests made by the controls.

    URL rewrites are a matter of application configuration/implementation and it is up to the developer to configure the URL rewriter module to exclude the e.g., *.axd handler requests or any other type of requests that may lead to such problems.

    In the process of controls development, what would be the technique used to intercept a possible URL rewrite and possibly correct it as per to the control needs? Such automatic interaction would be rather faulty as there is no common approach to create friendly URLs, this is rather manually configuration approach which depends on the project and the project's requirements.

    Regards,
    Ianko
    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.

     
  9. Preksha
    Preksha avatar
    1 posts
    Member since:
    Feb 2017

    Posted 14 Feb Link to this post

    Recently we upgraded our Sitecore website from 8.0 to 8.2. Previously everything was working fine but after upgrading it started giving error while adding hyperlink in Rich Text Editor. When we click on "Show Editor" of Rich Text Editor and then Hyperlink Manager to add link there is pop up which gives error:

    "Web.config registration missing! The Telerik dialogue requires a HttpHandler registration

  10. Rumen
    Admin
    Rumen avatar
    13055 posts

    Posted 14 Feb Link to this post

    Hello Preksha,

    Please, report all Sitecore related configuration issues to Sitecore support.

    Regards,
    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top