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

"Cannot Write To Target Folder" Error

2 Answers 65 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Richard Weeks
Top achievements
Rank 2
Richard Weeks asked on 28 Jan 2010, 01:31 AM
I have a File Explorer:

 

<telerik:RadFileExplorer   
 
ID="EquipmentFileExplorer"   
 
runat="server"   
 
InitialPath="~/AppData/Uploads/" 
 
VisibleControls="TreeView, Grid, Toolbar, ContextMenus">  
 
<Configuration   
 
MaxUploadFileSize="2004800"   
 
SearchPatterns="*.doc,*.pdf,*.gif,*.jpg,*.jpeg,*.tif,*.tiff"   
 
DeletePaths="~/App_Data/Uploads/" 
 
UploadPaths="~/App_Data/Uploads/" 
 
ViewPaths="~/App_Data/Uploads/">  
 
</Configuration> 
 
</telerik:RadFileExplorer> 
 

When I run the project, either locally or on a dev server, I receive an alert saying "Cannot Write To Target Folder". NETWORK SERVICE has modify set on the folder, so it should be ok?

I am using the latest ASP.NET release. Puzzled.

Richard

 

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 01 Feb 2010, 03:54 PM
Hello Richard,

I am not quite sure what is causing this error in your case. I am wiling to help but this behavior probably is caused by the configuration of the server and it is not related to RadFileExplorer control. In your case I recommend you test this by using a regular asp:FileUpload control and upload a file to the same directory - ~/App_Data/Uploads/.


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.
0
Richard Weeks
Top achievements
Rank 2
answered on 12 Feb 2010, 05:07 AM
Thank you for your reply.

I discovered the error was due to the uploader being contained within an update panel.

I've spun this functionality into its own page and all is well. I'd rather have the functionality within the look and feel of the master page but with this amount of functionality for so little effort that's splitting hairs a bit much :)

Regards,
Richard
Tags
FileExplorer
Asked by
Richard Weeks
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Richard Weeks
Top achievements
Rank 2
Share this question
or