Welcome Guest Search | Active Topics | Sign In | Register

Clients uploading new files before ready Options
Droma81
Posted: Thursday, March 7, 2013 4:32:16 PM
Rank: Member
Groups: Member

Joined: 11/16/2012
Posts: 11
I am using the EO AJAXUploader and I'm getting an error from some clients..

System.IO.IOException: The process cannot access the file 'D:\WebRoot\TERMINIX_uploads\eouploader.7edbe431-42f2-4fad-af7c-39d06eb41591.1.data' because it is being used by another process.

It's just a guess but I think they are trying to upload before the cleanup routine is not. Is there a way around this? I'm using the following for cleanup:

FileUploader.ClearPostedFiles();
FileUploader.Dispose();
eo_support
Posted: Thursday, March 7, 2013 4:56:34 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You do not need to dispose or call ClearPostedFiles to clean up the files. The AJAXUploader will clean up everything by itself.

If you continue to get this error, please post the full stack trace and we will be happy to look further.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.