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

RadEditor Document Manager Upload Issue

2 Answers 136 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Irfan
Top achievements
Rank 1
Irfan asked on 09 Apr 2014, 01:35 PM
Hi,

    I have RadEditor with document manager which allows users to upload files. Code is shown below
 
<telerik:RadEditor ID="rdEdObjectives" Skin="WebBlue" Width="800px" EditModes="Design" Height="200px" runat="server">
<CssFiles>
<telerik:EditorCssFile Value="~/EditorContentArea.css" />
</CssFiles>
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Cut" />
<telerik:EditorTool Name="Copy" />
<telerik:EditorTool Name="Paste" />
<telerik:EditorTool Name="Undo" />
<telerik:EditorTool Name="Redo" />
<telerik:EditorTool Name="FontName" />
<telerik:EditorTool Name="RealFontSize" />
<telerik:EditorTool Name="Bold" />
<telerik:EditorTool Name="Italic" />
<telerik:EditorTool Name="Underline" />
<telerik:EditorTool Name="JustifyLeft" />
<telerik:EditorTool Name="JustifyCenter" />
<telerik:EditorTool Name="JustifyRight" />
<telerik:EditorTool Name="JustifyFull" />
<telerik:EditorTool Name="Indent" />
<telerik:EditorTool Name="Outdent" />
<telerik:EditorTool Name ="InsertUnorderedList" />
<telerik:EditorTool Name="InsertOrderedList" />
<telerik:EditorTool Name="ForeColor" />
<telerik:EditorTool Name="BackColor" />
<telerik:EditorTool Name="InsertSymbol" />
<telerik:EditorTool Name="InsertTable" />
<telerik:EditorTool Name="LinkManager" />
<telerik:EditorTool Name="DocumentManager" />
</telerik:EditorToolGroup>
</Tools>
<DocumentManager ViewPaths="~/AttachmentDocs" UploadPaths="~/AttachmentDocs" DeletePaths="~/AttachmentDocs,~/AttachmentDocs" MaxUploadFileSize="10240000" />
</telerik:RadEditor> 

A wiered issue that i am facing is that everyting is working fine on my local and QA environment. But when I upload files to Production it shows files uploaded to Prod and I can also create a link out it and embed it to my editor. When I click on this link from a live website I can access the file. So far so good. 

But when I check my Prod folder ("~/AttachmentDocs) where I am uploading the folder is empty!  But when I verify the Link it shows the correct path.  Why can't I see the files on Prod that I am uploading.

What am I missing here. It works on QA and local.
 

2 Answers, 1 is accepted

Sort by
0
Irfan
Top achievements
Rank 1
answered on 09 Apr 2014, 07:03 PM
I would like to add that Prod environment is a Web-Farm.
0
Ianko
Telerik team
answered on 11 Apr 2014, 11:55 AM
Hi Irfan,

If they are linked and they are OK, then this should be more related to the Web-farm configuration matter. You can verify if the files are uploaded successfully in both servers, so that you could be sure that they can be viewed after each request redirect. Also you can check if the correct security restrictions are set to the application, so that the File Explorer could show the files.

On a side note, I would suggest also following this material, in which is discussed the uploading matter in web-farm environment.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Irfan
Top achievements
Rank 1
Answers by
Irfan
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or