CodeKicks.com
Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Tuesday, October 10, 2006

vss error: names.dat may be corrupt

Run analze tool in vss server tools with -f argument.This will fix the error.

But we may also have errors for some files:

The file "<Physical Log File Name including path>" appears to be corrupt. Unable to read the format or header.
Example:
The file "f:\vss\data\O\ORLAAAAA" appears to be corrupt. Unable to read the format or header.
Cause:
Files in Visual SourceSafe have format and header records to identify the file. One or both of these is corrupted. This error is very serious because it usually indicates that the rest of the Log file is damaged.

In many cases Analyze will report this error on files that are not needed by the database, often they have a size of 0 bytes. First try moving the files that report this error out of the \data\a-z directory, along with any files that have the same name with an extension, usually .a, .b or .old.

Post a Comment