Author: tom12345 | Posted on: 3/23/2009 4:54:08 AM | Views : 286

Hi guys!

I have a problem with asp.net and IIS when i try to delete a picture

In an AJAX call a try to delete a picture, that is displayed on my website. When clicking a radiobutton next to the picture, i want to perform a File.Delete(picturepath).

However, this is not possible. I always get the message... cannot delete file....is used by another process.

Even in Windows i cannot delete this file while the website is running. Folder permissions are to everyone.

I heard about that the IIS blocks and caches the files somehow - is there a way i can delete the picture?

thanks ...

Go to the complete details ...