Re: The process cannot access the file 'xxx' because it is being used by another process.

  •  10-01-2008, 8:22 PM

    Re: The process cannot access the file 'xxx' because it is being used by another process.

    Hi msalti,
     
    That is strange. Could you try it again for this code ?
     
    using (Stream stream = args.OpenStream())
    {
     
    }
     
    -----
     
    Ajax Uploader is trying to delete the temporary file when the uploaded event is finished.
     
    It should be OK when the stream is disposed.
     
    If the error still exists , you can call
     
    args.Persist();
     
    then that temporary file would be deleted after 1 hour.
     
     
    Regards , Terry .
     
     
     
View Complete Thread