2 Error_Cantdeletepreviousstatefile
Vitalii Koshura edited this page 2023-04-11 14:44:38 +02:00

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.