Upload function not saving files in the server

4 posts, 0 answers
  1. Rob
    Rob avatar
    3 posts
    Member since:
    Jul 2012

    Posted 08 Apr 2015 Link to this post

    I am using UI for ASP.NET AJAX v.2015.1.401.45, when I use the upload function for documents (also for images, media or flash) I can create a new folder, delete files inside those folders, delete the folder and  browse from folder to folder. But when I try to upload a new document, I see for a second the process circle then nothing get uploaded to the server. Since I can work with other functions, I don't think is a permission problem. My radeditor code is this:

    <telerik:RadEditor ID="reTemplateHTML" runat="server" Content='<%# Bind("EmailBody")%' Width="100%" Height="800px" ContentFilters="DefaultFilters,MakeUrlsAbsolute" Editable="true" EditModes="All" AllowScripts="true" >
    <ImageManager 
    ViewPaths="~/uploads/images/" 
    UploadPaths="~/uploads/images/"  
    DeletePaths="~/uploads/images/"  
    EnableAsyncUpload="true" 
    MaxUploadFileSize="3145728"  />
    <TemplateManager 
    ViewPaths="~/templates/" 

    MaxUploadFileSize="3145728"  />
    <FlashManager 
    ViewPaths="~/uploads/flash/" 
    UploadPaths="~/uploads/flash/" 
    DeletePaths="~/uploads/flash/" 
    EnableAsyncUpload="true" 
    MaxUploadFileSize="3145728"  />
    <DocumentManager 
    ViewPaths="~/uploads/documents/" 
    UploadPaths="~/uploads/documents/" 
    DeletePaths="~/uploads/documents/" 
    EnableAsyncUpload="true"
    MaxUploadFileSize="3145728" />
    <MediaManager 
    ViewPaths="~/uploads/media/" 
    UploadPaths="~/uploads/media/" 
    DeletePaths="~/uploads/media/"
    EnableAsyncUpload="true"
    MaxUploadFileSize="3145728"  />
    </telerik:RadEditor>

    Any Ideas. I have another app that use this feature and is working fine. But that is in the previous version of ASP.NET AJAX. Any Idea?

     

    Thanks

    JMC

  2. Misho
    Admin
    Misho avatar
    129 posts

    Posted 10 Apr 2015 Link to this post

    Hi,

    I've tried to replicate the described issue related to uploading of documents using the markup you have provided but no avail:
    http://screencast.com/t/3pkeowzCh
    I've created a sample website that could be used for the purpose of further testing and investigation of the problem. What I can suggest you at this point is to modify this sample in accordance with your custom setup and send it back to us so we would be able to replicate the issue and proceed with further investigating it. It is notable at first glance in the ImageManager configuration of the DocumentManager is configured with MaxUploadFileSize="3145728" so that larger images are not supposed to be uploaded. In that respect it would be also helpful if you could send us also the sample document you are testing with.

    Thanks for your cooperation in advance.

    Regards,
    Misho
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rob
    Rob avatar
    3 posts
    Member since:
    Jul 2012

    Posted 10 Apr 2015 in reply to Misho Link to this post



    Ok,

    Here is the
    situation, in IIS I have a folder called MANAGER with Authentication of Windows
    Authentication. Inside that folder is the default.aspx file with the radeditor.
    The upload folder have authentication of anonymous and asp.net impersonation. If
    I ran the file from MANAGER folder the problem occurs, if I create a folder X
    and copy the file that folder and execute work fine. So the problem is with
    authentication permission where the file is hosted and not where upload files
    are storage.

    If I change the
    authentication of MANAGER folder to anonymous the work fine.

    BTW I use windows
    authentication in manager because I only want people with domain account to be
    avail to enter. (If there a better way?)

  5. Misho
    Admin
    Misho avatar
    129 posts

    Posted 15 Apr 2015 Link to this post

    Hello,

    RadEditor dialogs such as Document and Image mangers actually inherits the RadFileExplorer control. In order to configure RadFileExplorer to work with shared drives or physical paths outside of the website folder you may consider to implement a custom content provider. Such provider is available in the following KB article:
    Use RadFileExplorer with physical and shared folder's paths

    More detailed information on how to implement custom content provider is available in the following help article: Using custom FileBrowserContentProvider

    Regards,
    Misho
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top