Having a code that works for ages when loading and storing images, I discovered that I have one single image that breaks this code:
const string i1Pa
Solution is here, you must dispose image object to release the memory on the server. Try use using statement. Make sure destination directory on server exists too.
using