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

RadUpload - ObjectDisposedException

0 Answers 39 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 28 Jan 2011, 04:00 PM
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?

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
Michael
Top achievements
Rank 1
Share this question
or