title: VSS Analyze - Access to file [filename] is denied
body: <p>Our VSS database appears to be horribly out of shape.  I've been trying to archive and run "analyze" and keep getting "Access to file [filename] is denied.  The file may be read-only, may be in use, or you may not have permission to write to the file.  Correct this problem and run analyze again."  No one is logged into SourceSafe (including myself) and I'm running the analyze utility from the VS command prompt as follows:</p>
  
  <p><code>analyze -v -f -bbackuppath databasepath</code></p>
  
  <p>I get similar errors if I try and create project archives from the <code>ssadmin</code> tool.</p>
  
  <p>The database is on a network share, and we're running VSS 2005 v8.0.50727.42.  I'd love to be able to do this, as it would be a first step in a move away from VSS.</p>
  
  <p>Thanks in advance.</p>
  
  <p><em>More Info</em>
  Every time I run analyze, the file that spawns the access denied message changes.  It's almost as if running analyze unlocks that file so that the next time I get through to the next one.</p>