English 中文(简体)
VSS Analyze - Access to file [filename] is denied
原标题:

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:

analyze -v -f -bbackuppath databasepath

I get similar errors if I try and create project archives from the ssadmin tool.

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.

Thanks in advance.

More Info 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.

最佳回答

I had this issue with our VSS database as well when we tried to most recently analyze and repair.

We did a few things to get it working.

  1. Turned off the network share, apparently we still had users accessing the share that we couldn t see, this helped most of the time.
  2. Otherwise we copied the repository locally, then ran analyze on it from there.

Neither solution is ideal, but we were in a critical situation and it was the only way we got it to work.

问题回答

暂无回答




相关问题
Source Safe command line command "ss Add"

I need to add some files to the VSS through the command line, but I can t figure out how to set the destination project in the VSS? Official description (http://msdn.microsoft.com/en-us/library/...

add entire folder to sourcesafe?

I have a folder with various files and subfolders that I d like to add to my sourcesafe 8.0 database. In the SourceSafe explorer I can add files, but I don t see any options for adding an entire ...

VSS Analyze - Access to file [filename] is denied

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, ...

Get source from pre-compiled ASP.NET website? [closed]

Long story short, VSS decided I wasn t allowed to have some code changes. I am missing a decent sized feature that I don t want to have to re-write (gave to a co-op as work this past summer). It works ...

VSS: Move file from one folder to another?

Is there a way in Visual SourceSafe to move a file from one directory to another while retaining its history? Edit I actually found a round about way to do this. First I drag the file I want to move ...

diff/merge tool for TortoiseSVN within Visual Studio

We ve recently "upgraded" from Visual SourceSafe to SVN based on recommendations on this site. Our current source control set-up is: TortoiseSVN with VisualSVN. We re very happy with it so far, but I ...

热门标签