permissions problems

4 posts, 0 answers
  1. kevin littler
    kevin littler avatar
    2 posts
    Member since:
    Nov 2009

    Posted 21 Nov 2009 Link to this post

    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
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Nov 2009 Link to this post

    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.
  3. kevin littler
    kevin littler avatar
    2 posts
    Member since:
    Nov 2009

    Posted 25 Nov 2009 Link to this post

    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
  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Nov 2009 Link to this post

    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.
Back to Top