The telerik dialogs require a HttpHandler registration in the web.config file

5 posts, 0 answers
  1. Darius
    Darius avatar
    13 posts
    Member since:
    Nov 2017

    Posted 26 Sep 2018 Link to this post

    Hi,

    I am using RadSpell and RadEditor, and have put following in web.config, but I still get error: "Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file....". Why do I still get this error, and how do I make it go away ? Thank you.

     

    <httpHandlers>
        ...
        <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
    </httpHandlers>
    ...
    <system.webServer>  
        <handlers>    
            ...    
            <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />  
        </handlers>
    </system.webServer>
  2. Rumen
    Admin
    Rumen avatar
    13928 posts

    Posted 27 Sep 2018 Link to this post

    Hello Darius,

    There is a very detailed KB article on the matter: Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file. 

    Please, follow the provided instructions to fix the problem and share the solution that works for you with the community.

    If you experience any troubles just let us know.

    Regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Darius
    Darius avatar
    13 posts
    Member since:
    Nov 2017

    Posted 02 Oct 2018 in reply to Rumen Link to this post

    Finally narrowed the issue down to MVC routing. My application is a hybrid MVC-WebForms application. I need to have the following lines of code, but it's causing the Telerik httphandler error for radeditor. Is there a workaround ?

     

    public static void RegisterRoutes(RouteCollection routes)
           {
               
               routes.MapRoute(
                   name: "Default",
                   url: "{controller}/{action}/{t}",
                   defaults: new
                   {
                       controller = "xxxx",
                       action = "yyyy",
                       t = UrlParameter.Optional
     
                   }
               );
           }
  4. Darius
    Darius avatar
    13 posts
    Member since:
    Nov 2017

    Posted 02 Oct 2018 in reply to Darius Link to this post

    Thank you Rumen. Number #3 worked in my case in the link you provided. It wasn't the MapRoute that was the issue. I had to add the following Ignore, per instructions:

     

    System.Web.Routing.RouteTable.Routes.Ignore("{*dialogs}", new { dialogs = @".*Telerik\.Web\.UI\.DialogHandler\.aspx.*" });
     
        System.Web.Routing.RouteTable.Routes.Ignore("{*allaxd}", new { allaxd = @".*\.axd(/.*)?" });
  5. Rumen
    Admin
    Rumen avatar
    13928 posts

    Posted 03 Oct 2018 Link to this post

    Great news! I am glad that the problem was resolved and everything is fine now :)

    Regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top