Skip to content

Error_Cantdeletepreviousstatefile

Vitalii Koshura edited this page Apr 11, 2023 · 2 revisions

Can't delete previous state file

DEPRECATED - USE MEDIAWIKI

Can't delete previous state file; Access is denied.

If you repeatedly see Can't delete previous state file; Access is denied in your message log, you're probably running a program that is accessing files and keeping them locked for long periods.

Example

3/21/2007 2:49:56 AM|Can't delete previous state file; Access is denied. (0x5)

Solution

Try using Microsoft's FileMon utility to discover what the offending program is, then configure it to not access files in the BOINC directory. Known problems: TSVNCache (part of TortoiseSVN).


Can't delete previous state file; The file or directory is corrupted and unreadable.

Example

2007-06-08 14:33:56 [---] Can't delete previous state file; The file or directory is corrupted and unreadable. (0x570)

Solution

Back up your BOINC directory and run chkdsk (Windows) or fsck (Unix) on the drive containing it. If files are irretrievably lost, create a new BOINC directory and reattach all projects.

Clone this wiki locally