TemporaryFileExpiration

2 posts, 0 answers
  1. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 26 Jul 2010 Link to this post

    Are there any circumstances which would cause cacheDependency to forget the temporary files to delete?
    Can it survive a machine reboot?
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2833 posts

    Posted 29 Jul 2010 Link to this post

    Hello Lenny,

    So far we've seen this only when:

    • The server is rebooted unexpectedly. Shutting down the application pool is enough to remove any leftover files.
    • You access the FileStream and don't dispose it.

    Current internal builds delete the file immediately after the FileUploaded event has been fired. This way the chances for leaving files is even slimmer.

    I hope this helps.

    All the best,
    Tsvetomir Tsonev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top