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

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

4 Answers 834 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Darius
Top achievements
Rank 1
Darius asked on 26 Sep 2018, 05:09 PM

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>

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Sep 2018, 08:04 AM
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.
0
Darius
Top achievements
Rank 1
answered on 02 Oct 2018, 04:11 PM

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
 
               }
           );
       }
0
Darius
Top achievements
Rank 1
answered on 02 Oct 2018, 04:58 PM

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(/.*)?" });
0
Rumen
Telerik team
answered on 03 Oct 2018, 10:43 AM
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.
Tags
Spell
Asked by
Darius
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Darius
Top achievements
Rank 1
Share this question
or