Image manager - error Unauthorized access with async upload

5 posts, 0 answers
  1. AntoineChlorophyll
    AntoineChlorophyll avatar
    8 posts
    Member since:
    Dec 2006

    Posted 18 Jan Link to this post

    Hello,

    When I use async upload with the image manager, the file is correctly uploaded to the folder but when it try to see the image, I have an error : "Unauthorized: Access is denied due to invalid credentials".
    My folder has this permission :
    IUSR

    • Read & Execute
    • List Folder Contents
    • Read

    But the uploaded image has not IUSR in the security tab. If I add IUSR user with read permission, it works.

     

    When I use classic upload, the image is correctly uploaded and I have no error.
    And the uploaded image has IUSR in the security tab.

    Any idea why I have this bug ?

     

  2. Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 18 Jan Link to this post

    Hello Antoine,

    You might find useful the suggestions in this forum thread: http://www.telerik.com/forums/problems-upload-on-windows-server-2008-iis7 and http://www.telerik.com/forums/how-to-get-radasyncupload-in-radeditor

    Regards,
    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. AntoineChlorophyll
    AntoineChlorophyll avatar
    8 posts
    Member since:
    Dec 2006

    Posted 18 Jan in reply to Rumen Link to this post

    The file (an image in my case) is correctly upload in the correct folder.
    I just can't see it.

    With async upload the file has not the good users (only sytem, pool application identity and administrator).
    Without async upload the file has the good users (sytem, administrator and IUSR).

    If I set IUSR on the async uploaded file, I can see it.

  4. AntoineChlorophyll
    AntoineChlorophyll avatar
    8 posts
    Member since:
    Dec 2006

    Posted 18 Jan in reply to AntoineChlorophyll Link to this post

    I attached 2 images to show the permission difference between async upload and classic upload.

    The files are in the same folder only parameter "EnableAsyncUpload" has been changed.

  5. Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 23 Jan Link to this post

    Hello Antoine,

    Can you please make sure that IIS is given rights to read and write to the App_Data folder and its sub-folders like the RadAsyncUpload target folder: App_Data\RadUploadTemp? You can find information about the temporary folder where the asyncupload upload the files in this article: http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/overview#temporary-files

    If a temp folder is not specified you have to grant Network Service permissions to the destination folder specified by the RadEditor Image ViewPaths property.

    Best regards,

    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top