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

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

3 Answers 166 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alec
Top achievements
Rank 1
Alec asked on 25 Oct 2011, 07:01 AM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Oct 2011, 11:21 AM
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
0
Alec
Top achievements
Rank 1
answered on 03 Jan 2012, 07:40 AM
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
0
Rumen
Telerik team
answered on 03 Jan 2012, 03:21 PM
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
Tags
Editor
Asked by
Alec
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Alec
Top achievements
Rank 1
Share this question
or