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

permissions problems

3 Answers 128 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
kevin littler
Top achievements
Rank 1
kevin littler asked on 21 Nov 2009, 07:34 PM
hi all i have got the fileexplorer rad control installed on a site i work with everytime i try to upload a file or delete i get "the selected folder cannot be deleted because the application does not have enough permissions" i have given the network service full control over the folders where the fileexplorer files are and also to the folders i want to upload to.

anyone any ideas for me to try im at my witts end lol.

thanks
kevin

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 25 Nov 2009, 08:30 AM
Hi Kevin,

I am not quite sure what may cause the problem in your case. Could you please share some additional information about your setup:
  • Do you use a custom provider?
  • Please paste your configuration of the control. How the VewPaths, DeletePaths and UploadPaths are set?

I ask you these questions because this error typically occurs when a custom provider is used and the CheckWritePermissions method does not to return the correct value or DeletePaths is not set correctly.

I am looking forward to hearing from you.

All the best,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
kevin littler
Top achievements
Rank 1
answered on 25 Nov 2009, 08:47 AM
i have managed to get most of this working now by removing the line of code "initial path=" how ever i am unable to now delete from any path i can upload and create and rename folders, here is the config of page.

<Configuration SearchPatterns="*.jpg, *.gif, *.png, *.txt, *.bmp" UploadPaths="/img/photos" DeletePaths="/img/photos" ViewPaths="/img/photos" MaxUploadFileSize="10480000"></Configuration>

thanks
kevin
0
Fiko
Telerik team
answered on 25 Nov 2009, 11:50 AM
Hi Kevin,

If you use the configuration, that you pasted, with the default content provider of the RadFileExplorer control, you will get these error message: "Failed to map the path '/img/photos'". In order to avoid any unexpected behaviors you need to use root-related paths :
 
<Configuration SearchPatterns="*.jpg, *.gif, *.png, *.txt, *.bmp" UploadPaths="~/img/photos" DeletePaths="~/img/photos" ViewPaths="~/img/photos" MaxUploadFileSize="10480000"></Configuration>

In case, however, that you use a custom provider, please open a new support ticket and send me your project. I will check it and do my best to help.

Best wishes,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
FileExplorer
Asked by
kevin littler
Top achievements
Rank 1
Answers by
Fiko
Telerik team
kevin littler
Top achievements
Rank 1
Share this question
or