Thank you for your response.
I forgot to say: a zero size file is created each time I use Image.Save ! In addition, I have the same error when trying to save the image to stream!!
So, there is no permission issue.
I have spent a hours googling and come up with two reasons:
1-permission (might be solved by giving write permission to a user).
2- image object issue (might be solved by creating a new image, then use the new image to save your image to a file). The idea here is that the first image sometimes for unknown reason is inaccessible!!!
However, none of these solutions solved my issue.
Do you have any idea or advices please?
About The Coordinator class, You are right. I was too lazy to delete it :) .
I forgot to say: a zero size file is created each time I use Image.Save ! In addition, I have the same error when trying to save the image to stream!!
So, there is no permission issue.
I have spent a hours googling and come up with two reasons:
1-permission (might be solved by giving write permission to a user).
2- image object issue (might be solved by creating a new image, then use the new image to save your image to a file). The idea here is that the first image sometimes for unknown reason is inaccessible!!!
However, none of these solutions solved my issue.
Do you have any idea or advices please?
About The Coordinator class, You are right. I was too lazy to delete it :) .