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

[Solved] telerik asp.net ajax rad editor HttpHandler registration in the web.config file + IIS 7.0

1 Answer 197 Views
Editor
This is a migrated thread and some comments may be shown as answers.
jalepsh
Top achievements
Rank 1
jalepsh asked on 08 Sep 2009, 08:03 AM
I have a site which are used in both classic and integrated both mode and its working fine in both the mode. I have created a web.config file which is working fine in both the mode. I have only got the problem with telerik rad editor.

Telerik Rad editor for asp.net ajax requires a http handler configuration in web.config. So i have given the httphandler in both way
so i can used in classic as well as integrated mode like following.

For classic mode:

I have given followin in http handler section of web.cofig:

<

 

add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

 


For integrated mode i have given following 

<add path="Telerik.Web.UI.WebResource.aspx" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

But the problem is that its working fine with integrated mode in IIS 7.0 but Its not working with IIS 7.0 classic mode.

I want that my web.config should work in both mode of IIS I don't want to change every time.

For IIS 7.0 classic mode i am getting following error:

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

Can anybody help me out for this?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Sep 2009, 01:29 PM
Hi Jalepsh,

Could you please replace the Telerik.Web.UI.DialogHandler.aspx extension in the handlers declaration to Telerik.Web.UI.DialogHandler.axd, e.g.

<system.web>
  <httpHandlers>
      ...
      <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
   </httpHandlers>
</system.web>
<system.webServer>
    <handlers>
       ...
        <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" />
    </handlers>
</system.webServer>

and after that set in the RadEditor's declaration DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"

This solution is explained in point 4 in the article at http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx and works for all problematic scenarios.

Greetings,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
jalepsh
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or