Last post Apr 10, 2014 10:26 PM by markfitzme
Apr 03, 2014 03:39 AM|Tabish.Matin|LINK
I am facing very strange problem. Actually I dont know what the hack is going on.
In my web application there is an images folder called "Image". After the deployment in the random interval of time (3 days , 5 days etc) all images automatically deleted. Any one know WHY ? or in which circumstances this thing can be happend ?
Any sort of HELP will be highly appreciated.
Apr 03, 2014 03:58 AM|oned_gk|LINK
Try create image2 folder, place some images
If all images in both folder automaticaly deleted, i guess it's virus.
Apr 03, 2014 04:02 AM|Tabish.Matin|LINK
Thanks for your reply ... I will try that one but the thing is that I dont know How long do I need to wait for it.... Its not VIRUS because its happening to all my clients rather then any particular.
The only thing that I can see is this key in the config file
<add key="ChartImageHandler" value="Storage=file;deleteAfterServicing=false;Timeout=2;Url=~/Images/;" />
Apr 03, 2014 04:11 AM|oned_gk|LINK
AFAIK, its temporary folder that need to be deleted after not used.
<add key="ChartImageHandler" value="Storage=file;deleteAfterServicing=true;Timeout=2;Url=~/TemporaryImages/;" />
For more information see : http://msdn.microsoft.com/en-us/library/dd456629(v=vs.110).aspx
Apr 03, 2014 04:17 AM|Tabish.Matin|LINK
i am 80% sure that the problem is because of this key ...
The thing is that How can I reproduce the problem ...
Apr 10, 2014 10:26 PM|markfitzme|LINK
You might try stopping-starting the application pool and then hitting the application to see if a full restart of the app pool and bringing up the site fresh causes it. It may do it when the chart handler is first called after a complete refresh of the app
pool or during the shutdown period as it may tie into the application's onend event.