These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

System.IO.IOException filevista upload control

Hi,

Every day we get IO exceptions from the downloadhandler for filevista upload control (v2)

The process cannot access the file 'xxxxxxxxxxxxx' because it is being used by another process. 
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at GleamTech.Web.Controls.DownloadHandler.ProcessRequest(HttpContext httpContext)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

When does this occur and how to solve it?

kind  regards
Dennis
Dennis De Veter 1/4/2011 7:46 AM
When downloading multiple files, a temporary zip file is created and this file is deleted after the download is completed.
In this case, it seems the file is attempted to be deleted strangely before it's closed. I can't think of a specific reason for this, maybe it's only with very large files or there are connection problems during the download. 

We constantly improve download and upload modules so I would recommend you to test v2.1 if possible.
Cem Alacayir 1/31/2011 4:54 PM