Image dialog: Web.config registration missing

5 posts, 0 answers
  1. Jimmy
    Jimmy avatar
    22 posts
    Member since:
    Nov 2008

    Posted 01 Apr 2009 Link to this post

    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 ?
  2. Jimmy
    Jimmy avatar
    22 posts
    Member since:
    Nov 2008

    Posted 02 Apr 2009 Link to this post

    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 :)
  3. Rumen
    Admin
    Rumen avatar
    13241 posts

    Posted 06 Apr 2009 Link to this post

    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.
  4. Jimmy
    Jimmy avatar
    22 posts
    Member since:
    Nov 2008

    Posted 08 Apr 2009 Link to this post

    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.

  5. Aaron Lewis
    Aaron Lewis avatar
    22 posts
    Member since:
    Jan 2003

    Posted 19 Jun 2009 Link to this post

    For those who still get the error even after implementing the above, see this thread.
Back to Top