I get cached disk file in the directory c:\arrCache_media\video. IIS still got an handle on the file, so i can't rename, delete or re-write the file. But i can move the file to another folder, so I try this avenue to solve my problem.
I move my file entcadieux1.wmv.full in another folder a name Trash in the path c:\Trash. When i move the file IIS still get the handle on the file. If you look the screen shot of process monitor IIS now get the file in the trash directory.
If i delete the file, iis get the file in the system trash folder.
My questions is, it's not normal that the ARR cache system lock the file in the cache folder. I can open the file in read mode. So he could be logic that the handle on the file would be release after the writing process. With this scenario i think the problem could be solve. The file could be deleted manually, or by code, and iis will send the request on the web farm server. I know if I recycle the application pool, iis will release the handle, but i dont won't to release the application pool because that will affect over 200 sites