FIX: Analyze.exe Utility Fails to Repair or Remove Orphaned Files in a Visual SourceSafe Database

This article was previously published under Q279191
This article has been archived. It is offered "as is" and will no longer be updated.
The Analyze.exe utility that is included in Visual SourceSafe (VSS) does not remove orphaned files from the database. When you run Analyze.exe, one of the following error messages may appear:
The project Web-templates contains a child that does not recognize this project as a parent. The child will be added to the project.
Project log 'physical file' has a create record for item [file name], but that item wasn't found in the project.
The project name references a child whose physical file [file name] is missing or corrupted.
The abnormal ending of the VSS process can cause orphaned files. This abnormality can stem from many different situations, including power loss during file transfer, network traffic, drive runs out of space, and so forth.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed
To download the latest Visual Studio service pack, visit the following Microsoft Web site:

Steps to Reproduce Behavior

  1. Delete and purge a large project from a VSS database by checking the Destroy Permanently checkbox.
  2. While the destroy process runs, stop the process in Task Manager (CTRL+ALT+DELETE), or turn the computer off (to simulate a power failure).
  3. Run Analyze.exe, and note that the error messages in the "Symptoms" section that refer to lost parent or child links occur.
source safe

Article ID: 279191 - Last Review: 10/21/2013 03:40:37 - Revision: 1.2

Microsoft Visual SourceSafe 6.0 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbssafe600fix kbssafeanalyze kbvs600sp5fix KB279191