Article ID: 156451
Article Last Modified on 8/9/2006
APPLIES TO
- Microsoft Visual SourceSafe 4.0 Standard Edition
- Microsoft Visual SourceSafe 4.0 Standard Edition
- Microsoft Visual SourceSafe 4.0a
- Microsoft Visual SourceSafe 4.0a
- Microsoft SourceSafe
- Microsoft SourceSafe
This article was previously published under Q156451
SYMPTOMS
When you use DDCONV.EXE in an attempt to convert your
SourceSafe 3.x database to the Visual SourceSafe 4.0 format, a General
Protection Fault may occur.
When DDCONV.EXE is run against the
database, it generates a file called DDCERR.LOG. This file contains an
informational list of the actions performed by DDCONV.EXE and includes
references to any problems encountered during the upgrade.
This
article contains information on the following problem:
- You are receiving a General Protection Fault when running
DDCONV.EXE.
- The last entry in the DDCERR.LOG file reads:
File <filename>.<a or b> not found
where <filename> is any 8-character filename with an
extension of .a or .b.
CAUSE
Each file or project in a SourceSafe database is
represented as a "file pair" within the database itself. For example,
information on the root project ($/) of a SourceSafe database is stored in the
file AAAAAAAA, called the log file, and AAAAAAAA.A (or .B), called the data
file. If you were to add a new file to an empty SourceSafe database, it would
be stored internally as BAAAAAAA and BAAAAAAA.A (or .B).
NOTE: The file extension will alternate between .A and .B each time
the file is modified or labeled.
If the data file for a Project is
moved or deleted and you attempt to run DDCONV.EXE against the database, a
General Protection Fault will occur.
WORKAROUND
You may use the DDCERR.LOG file to identify the physical
file name that is generating the error. From this point, any of three
approaches may be used to fix the problem:
- Delete the offending log file for which no data file
exists. This may cause data loss, but, if the data file is missing, it is
already inaccessible from SourceSafe.
- Recover the file pair (both the data and the log file) from
a backup copy of the database.
- Microsoft has provided a new version of DDCONV.EXE that
prevents the General Protection Fault from occurring.
STATUS
Microsoft has confirmed this to be a problem in the
Microsoft products listed at the beginning of this article. This problem has
been fixed in Visual SourceSafe 5.0.
Keywords: kbbug kbfix kbssafe500fix KB156451