Article ID: 181717
Article Last Modified on 3/10/2005
APPLIES TO
- Microsoft Visual SourceSafe 5.0 Standard Edition
- Microsoft Visual SourceSafe 6.0 Standard Edition
This article was previously published under Q181717
SYMPTOMS
Analyze reports returns the error listed below and if you are running
Analyze with either the -f or the -d switch, or both, files are deleted
either from the data\<a-z> directory, or destroyed in the SourceSafe
database.
Here is the error:
Unable to open file <physical filename>
File <physical filename> is already open.
CAUSE
If a log file (a file with no extension in one of the data\<a-z> folders)
is opened and locked by a different process, such as a backup utility
running simultaneously with Analyze, Analyze treats the file as an orphan.
RESOLUTION
The best cure is prevention. You should run Analyze without any switches
before running it with either the -d switch or the -f switch. If Analyze
reports that a file is already open, take whatever steps necessary to close
that file before using the additional switches. Once the problem has
occurred, the resolution will be determined by a number of factors, such as
which files have been deleted, how important it is to maintain their
history, and whether a file or project was affected. If you are not sure
what action to take, contact Microsoft Technical Support.
STATUS
Microsoft has confirmed that this is a bug in analyze version shipped with Visual SourceSafe 5.0.
This bug was corrected in the version of analyze that ships with Visual SourceSafe 6.0 and the version of analyze that's available on the Web.
Please see the REFERENCES section for more information about
downloading the Analyze.exe file.
REFERENCES
For additional information, please see the following
articles in the Microsoft Knowledge Base:
190881 SAMPLE: Analyze6.exe Utility for Visual SourceSafe
168634 INFO: When -d Switch of Analyze Deletes Files
167263 PRB: <filename> is Already Open
Keywords: kbbug kbfix kbssafe600fix kbssafe500fix KB181717