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

Upload not working with network path

2 Answers 202 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
saritha78
Top achievements
Rank 1
saritha78 asked on 31 Mar 2012, 12:49 AM
Hi,
I have a Custom File System Provider which I use to display and upload files to a shared network drive. Display files, and download files are working fine, however, upload is not working. As per this article 

Uploading File
GetFile - Returns Stream for accessing the contents of the file item with the given Url
StoreFile - Creates a file item from a Telerik.Web.UI.UploadedFile in the given path with the given name.
ResolveRootDirectoryAsTree - Update the RadTreeView in RadFileExplorer
ResolveDirectory - Updates the RadTreeView
ResolveRootDirectoryAsTree - Updates the RadGrid
ResolveDirectory - Updates the RadGrid

In my case, its not going to GetFile and StoreFile at all. I have breakpoints and Not implemented exceptions thrown from these functions and the cursor is not getting there. When I hit the upload button, the upload dialogue shows, I can select the file and click on Upload and nothing happens. 
I appreciate any inputs.
Thanks,
Saritha

2 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 03 Apr 2012, 03:31 PM
Hi Saritha,

I have already answered your support ticket on the subject, for convenience I will paste my answer here as well.

The described behavior in the above mentioned forum thread is very odd. Could you please elaborate on what exactly do you mean by "I can select the file and click on Upload and nothing happens"? Does the page postback after you click on the button but file does not get uploaded? According to the configuration of RadFileExplorer from the provided sample page, the control is using RadUpload(not RadAsyncUpload), thus the files are uploaded over postback.

Could you please check if there are not JavaScript errors thrown on the page when the Upload dialog is opened or when the Upload button is clicked? If this is the case, could you please provide the exact error message that is thrown?


If a postback do occur after click on the Upload button but the files did not get uploaded, could you please verify that you have the correct permissions on the shared drive? An example how to test the permissions is available in the following help article:

http://www.telerik.com/help/aspnet-ajax/fileexplorer-general-troubleshooting.html


If this is not the case, we will need to debug the content provider locally, however, the provided sample page is not runnable due to missing dependencies. Could you please provide
a sample fully runnable sample project reproducing the problem?

On a side note, we are aware of a bug in RadFileExplorer in the latest official version (2012.1.215) affecting custom content providers. This bug has been resolved already and the fix will be available in the upcoming service pack. More information and a temporal workaround to this issue is available in the following forum thread:

http://www.telerik.com/community/forums/aspnet-ajax/file-explorer/fileexplorer-stops-working-after-2012-q1-update.aspx#1998493


Kind regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
saritha78
Top achievements
Rank 1
answered on 12 Apr 2012, 05:48 PM
Setting EnableAsyncUpload = true on the radexplorer resolved the upload issue.
Tags
FileExplorer
Asked by
saritha78
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
saritha78
Top achievements
Rank 1
Share this question
or