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

RadAsyncUpload - There is not enough space on the disk.

2 Answers 149 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Marko
Top achievements
Rank 1
Marko asked on 18 May 2012, 09:20 AM
Hello,

I have following scenario. Running asp.net application on machine which has 2 hard drives, system drive C and storage drive D. On C drive there is only 50 MB of free space and on D there is 100 GB of free space. ASP.Net application files are on D drive. TemporaryFolder of the RadAsyncUpload control is set like this "../App_Data/RadUploadTemp".

The problem is that when I try to upload a file which is bigger than 50 MB (amount of free space on C drive) I get an exception: The  System.IO.IOException: There is not enough space on the disk. which is fired from Telerik.Web.UI.AsyncUploadHandler.ProcessRequest(HttpContext context). However, when file upload starts I can see that the file is created on the D drive (previously mentioned path), so it is confusing that no disk space exception is fired. Also worth mentioning is that when I try to upload a file which is 100 MB big, on the D drive I have file with the size of always less then 50 MB and then exception is fired. There was enough RAM memory.

Is there any requirement to have enough disk space on system drive?

Thanks!
Marko

2 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 22 May 2012, 08:53 AM
Hello Marko,

We are not aware of such behavior. RadAsyncUpload control is uploading files on chunks (2MB each). When the limit of the hard drive capacity is reached an exception should be thrown. The files from the temporary folder are automatically deleted 4 hours after the upload.
Could you please send me a working project that demonstrates that issue?

All the best,
Peter Filipov
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
Marko
Top achievements
Rank 1
answered on 22 May 2012, 10:57 AM
Hello,

Thanks for replying.

I actually tried to reproduce this error again but was unable, even with bigger files. It is possible that there was an error with the server at the time.

Will write if problem appears again.

Thanks
Marko
Tags
AsyncUpload
Asked by
Marko
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Marko
Top achievements
Rank 1
Share this question
or