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

Image dialog: Web.config registration missing

4 Answers 164 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Jimmy asked on 01 Apr 2009, 02:56 PM
Hi.

I have been struggling with RadEditor for quite a while now, trying to get the Dialogs to work within RadEditor. When I open the Insert Image dialog, I receive the "Web.config registration missing!" error (screenshot): http://tinypic.com/view.php?pic=2hpheed&s=5

I did what the error message told me to do - I read the documentation, and found that I was missing the following HttpHandler:
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
http://www.telerik.com/help/aspnet-ajax/introduction2.html

I added the handler, but I am still receiving the same error, and the dialog layer gives me a 404 (page not found).

My Web.Config file is available here: http://pastebin.com/mc6bd2b9

Could someone give me a hint on this one ?

4 Answers, 1 is accepted

Sort by
0
Jimmy
Top achievements
Rank 1
answered on 02 Apr 2009, 08:14 AM
Hello again.

Today I found that I was also missing the following entry in web.config, so I added the following to my HttpHandler section:

<add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
Described here: http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx

I am still receiving the same "Web.config registration missing" error though. Suggestions would be very appriciated :)
0
Rumen
Telerik team
answered on 06 Apr 2009, 03:38 PM
Hello Jimmy,

In your SharePoint scenario, you should do the following two steps:

1) open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
2) set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"

Sincerely,
Rumen
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jimmy
Top achievements
Rank 1
answered on 08 Apr 2009, 07:23 AM

The Telerik Support helped me through this problem. These were their instructions:

I'm using SharePoint, so I needed to do the following:

  1. open the web.config file and replace Telerik.Web.UI.DialogHandler.aspx with Telerik.Web.UI.DialogHandler.axd
    So something like this:
    <add path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
  2. set the RadEditor's DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd"

Thanks to the Telerik Support for providing this information.

0
Aaron Lewis
Top achievements
Rank 2
answered on 19 Jun 2009, 08:13 PM
For those who still get the error even after implementing the above, see this thread.
Tags
Editor
Asked by
Jimmy
Top achievements
Rank 1
Answers by
Jimmy
Top achievements
Rank 1
Rumen
Telerik team
Aaron Lewis
Top achievements
Rank 2
Share this question
or