Author: yzidell | Posted on: 12/4/2008 7:56:05 PM | Views : 433

I am uploading a picture file using a 3rd party control which works fine.
I am then using some code resize the picture which works.
Then I am trying to delete the original file that I uploaded:

File.Delete(MapPath("./") + "EventPictures\" + strUploadedFileName)
I then get this error message:

The process cannot access the file because it is being used by another process.
Thanks for your help

...

Go to the complete details ...