Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1160 karma points
    Feb 24, 2011 @ 23:09
    Connie DeCinko
    0

    What are the App_Data/preview/xxx.config Files For?

    There are hundreds of MB of files in our App_Data/preview folder.  They are .config files but appear to be copies of old and current web pages.  Why do they exist?  Can we delete them?  How can we keep them from wasting precious disk space?

     

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Feb 25, 2011 @ 08:21
    Ismail Mayat
    0

    Connie,

    They are created when pages are previewed, regarding clean up possibly some kind of scheduled batch file / powershell job that removes anything older than a day?

    Regards

    Ismail

  • Connie DeCinko 931 posts 1160 karma points
    Feb 25, 2011 @ 16:08
    Connie DeCinko
    0

    Thanks for confirming this.  I see this as a major bug and added it to Codeplex.  Hopefully we'll see something changed in a future version.

    Connie

     

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Feb 25, 2011 @ 16:23
    Tim
    0

    Hi Connie,

    I've just had a play with this on our dev box, and it looks like they preview files should get deleted. I've had a play on a 4.5.2 test site we're running, and if I fill the preview folder up with copies of the file that's in there, then do a preview, all of the other files get deleted. It could be a permissions issue on your hosting.

    Can you check if the user that the application pool is running under (typically Network Service) has Modify permissions for the app_data/preview folder? If it doesn't, it wouldn't be able to delete the old files when it creates the new preview file. If it doesn't, assign it the permission, and then try and do a preview, hopefully it should then delete the other preview files.

  • Paul A 133 posts 368 karma points
    May 17, 2011 @ 13:02
    Paul A
    0

    Hi, I made the permissions changes but still have hundreds of MB files in here (not deleted when previewing)...

    Am I able to manually remove these?

    Thanks,

    ------------

    Update: Backed up, deleted, site still there.

Please Sign in or register to post replies

Write your reply to:

Draft