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

Image manager - error Unauthorized access with async upload

4 Answers 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
AntoineChlorophyll
Top achievements
Rank 1
AntoineChlorophyll asked on 18 Jan 2017, 11:15 AM

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 ?

 

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Jan 2017, 02:06 PM

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.
0
AntoineChlorophyll
Top achievements
Rank 1
answered on 18 Jan 2017, 02:25 PM

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.

0
AntoineChlorophyll
Top achievements
Rank 1
answered on 18 Jan 2017, 02:46 PM

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.

0
Rumen
Telerik team
answered on 23 Jan 2017, 08:53 AM

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 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.
Tags
Editor
Asked by
AntoineChlorophyll
Top achievements
Rank 1
Answers by
Rumen
Telerik team
AntoineChlorophyll
Top achievements
Rank 1
Share this question
or