Microsoft KB Archive/279191

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

Article ID: 279191

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q279191



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

-or-

Project log 'physical file' has a create record for item [file name], but that item wasn't found in the project.

-or-

The project name references a child whose physical file [file name] is missing or corrupted.



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



STATUS
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:

http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx



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 &quot;Symptoms&quot; section that refer to lost parent or child links occur.

