| 1 | = Can't delete previous state file = |
| 2 | |
| 3 | == Can't delete previous state file; Access is denied. == |
| 4 | 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. |
| 5 | |
| 6 | === Solution === |
| 7 | Try using Microsoft's [http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx 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). |
| 8 | |
| 9 | ---- |
| 10 | |
| 11 | == Can't delete previous state file; The file or directory is corrupted and unreadable. == |
| 12 | |
| 13 | === Example === |
| 14 | {{{ |
| 15 | 2007-06-08 14:33:56 [---] Can't delete previous state file; The file or directory is corrupted and unreadable. (0x570) |
| 16 | }}} |
| 17 | |
| 18 | === Solution === |
| 19 | 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. |