RadAsyncUpload - There is not enough space on the disk.

3 posts, 0 answers
  1. Marko
    Marko avatar
    9 posts
    Member since:
    Mar 2012

    Posted 18 May 2012 Link to this post

    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. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 22 May 2012 Link to this post

    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.
  3. Marko
    Marko avatar
    9 posts
    Member since:
    Mar 2012

    Posted 22 May 2012 Link to this post

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