RadUpload - ObjectDisposedException

Thread is closed for posting
1 posts, 0 answers
  1. Michael
    Michael avatar
    2 posts
    Member since:
    Dec 2010

    Posted 28 Jan 2011 Link to this post

    When trying to upload a large file (say ~15mb) I am getting an "ObjectDisposedException", "cannot access a closed file".
    Here is an example of the code I am using:

    while ((bytesRead = UploadFileStream.Read(buffer, 0, buffer.Length)) != 0)
    {
    /* Do stuff with the data from the uploaded file's stream */
    }

    Can someone offer me any help or suggestions?
Back to Top