Image Manager giving error "Web.config registration missing!"

4 posts, 0 answers
  1. Alec
    Alec avatar
    4 posts
    Member since:
    Oct 2011

    Posted 25 Oct 2011 Link to this post

    Hi All,

    I am using the latest version of Telerik controls & when I trying to upload the file though Image Manger. it giving the below error.

    Web.config registration missing!
     The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction.


    I have go through the following suggestion over foroum.
    1. Put the custom handler under <httphandler> tag  <add path="Telerik.Web.UI.DialogHandler.axd" verb="*"  type="Telerik.Web.UI.DialogHandler,
               Telerik.Web.UI,Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

    2. Check the websense over the server. But that is not an issue.
    3.  I have also increase the maxrequestlength to "2000000".

    But it still not working. Can you suggest me what the reason behind it. Below is my code snipet
      <telerik:RadEditor  Width="98%" Height="825px" AutoResizeHeight="true" runat="server"  editable="true" haspermission="false"
                    MaxFileSize=""
                    ID="Editor" ContentAreaCssFile="~/RadEditor.css" OnClientSelectionChange="Editor_ClientSelectionChange" 
                      DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"
                    TableLayoutCssFile="~/styleFB.css" AllowScripts="True" ToolsWidth="1px">
                    <ImageManager MaxUploadFileSize="2147483647" />
                    <DocumentManager MaxUploadFileSize="2147483647" />
                    <Content></Content>
    </telerik:RadEditor>

    Thanks in advance.

    Note : But when I tried to upload in local machine in debug mode it giving me no error.

    Thanks
    Alec
  2. Rumen
    Admin
    Rumen avatar
    14474 posts

    Posted 27 Oct 2011 Link to this post

    Hello Alec,

    Could you please try to decrease the dialog URL length using the following code and see whether the problem still persists:

    <scripttype="text/javascript">
    function setUrlLength(editor)
    {
        editor.get_dialogOpener()._dialogUrlLengthLimit = 500;
    }
    </script>
    <telerik:RadEditor ID="RadEditor1" runat="Server" OnClientLoad="setUrlLength".../>


    Best wishes,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Alec
    Alec avatar
    4 posts
    Member since:
    Oct 2011

    Posted 03 Jan 2012 Link to this post

    HI Rumen,

    Thanks for you reply. But this resolution is not work for me. Can you give another one?

    Note : One thing I would like to mentined that if I am trying to add RadEditor on simple page. than it works fine. But not with actual page. Which have other stuff like Rad Grid on same page.

    Please do reply ASAP??

    Thanks
    Alec
  4. Rumen
    Admin
    Rumen avatar
    14474 posts

    Posted 03 Jan 2012 Link to this post

    Hello,

    You wrote that you do not experience the problem on your local machine, but only on the production server. Could you please specify whether the problem is not reproducible locally on the development server of Visual Studio or on IIS?

    Please, also isolate the problem in a sample working project and send it by opening  a support ticket. We need a project, configuration information of your server and reliable steps to reproduce the issue, so that we can reproduce, debug it and provide a solution.

    Looking forward to hearing from you,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top