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

Error upload Image, Document in Editor

3 Answers 85 Views
Editor
This is a migrated thread and some comments may be shown as answers.
xuan dung
Top achievements
Rank 1
xuan dung asked on 02 Oct 2016, 06:04 PM
I using Editor upload Image, Document but it not working, how to check error detail and fix it. Thanks

3 Answers, 1 is accepted

Sort by
0
xuan dung
Top achievements
Rank 1
answered on 02 Oct 2016, 06:07 PM

It is code aspx:

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
        <asp:ScriptManager ID="ad1" runat="server"></asp:ScriptManager>
        <telerik:RadEditor runat="server" ID="reFull" SkinID="DefaultSetOfTools" Height="600px" Width="95%" EnableResize="false" NewLineMode="P" NewLineBr="False">
<ImageManager
EnableAsyncUpload="true" MaxUploadFileSize="5242880"
AllowMultipleSelection="true" EnableImageEditor="true"  ViewPaths="/Images/News/image,/Images/News/image"
UploadPaths="/Images/News/image,/Images/News/image"
DeletePaths="/Images/News/image,/Images/News/image"
></ImageManager>
<FlashManager
EnableAsyncUpload="true" MaxUploadFileSize="524288000" SearchPatterns="*.*"
AllowMultipleSelection="True" />
<MediaManager
EnableAsyncUpload="true" MaxUploadFileSize="1048576000" SearchPatterns="*.*"
AllowMultipleSelection="true" />
<DocumentManager
EnableAsyncUpload="true" MaxUploadFileSize="524288000" SearchPatterns="*.*"
AllowMultipleSelection="true" />
</telerik:RadEditor>


0
xuan dung
Top achievements
Rank 1
answered on 02 Oct 2016, 06:17 PM
Editor upload Image, Document in local is good.

In hosting file upload using FileUpload is good.

But using Editor upload Image, Document, error in hosting services, I have set permission in hosting allow rewrite,
0
Rumen
Telerik team
answered on 03 Oct 2016, 05:25 PM
Hi,

What's the size of the uploaded image file? In case you upload large files, see this article:  Upload Large Files (maxRequestLength).

If the problem is with the permissions, just for test give the everyone user full permissions and test the upload once again.

Yet another test that you could perform is setting the EnableAsyncUpload property to false.

Best regards,
Rumen
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Editor
Asked by
xuan dung
Top achievements
Rank 1
Answers by
xuan dung
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or