HOWTO: Run Ddconv in Visual SourceSafe

Last reviewed: April 18, 1997
Article ID: Q132930
The information in this article applies to:
  • Microsoft Visual SourceSafe versions 4.0, 5.0
  • Microsoft SourceSafe for Windows, versions 3.04, 3.1
  • Microsoft SourceSafe for Windows NT, versions 3.04, 3.1
  • Microsoft SourceSafe for MS-DOS, versions 3.04, 3.1
  • Microsoft SourceSafe for Macintosh, versions 3.04, 3.1

SUMMARY

The Ddconv utility must be run to correct the following problems in a SourceSafe database:

  1. Incompatible database format. For additional information, please see the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q123468

       TITLE     : PRB: How to Handle the "incompatible database format" Error
    
    

  2. Failed upgrade.

    For additional information, please see the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q131451

       TITLE     : How to Upgrade SourceSafe Manually
    
    

  3. Rebuilding the Rights.dat file.

  4. Rebuilding the Status.dat file.

  5. Creating a new database. For additional information, please see the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q123467

       TITLE     : How to Create a New Database in SourceSafe
    
    

MORE INFORMATION

To run the Ddconv utility, follow these steps:

  1. Create a backup directory. This will be used to hold files that must first be removed. This step is not necessary, but it is a good idea to back up the old files in the event of a system failure.

  2. Copy the following files from the Data directory to the backup directory:

    Rights.dat Status.dat Version.dat

  3. With SourceSafe 3.x, run Ddconv from the Admin directory:

    DDCONV -s <data path>

    NOTE: The -s parameter is used to recreate the Status.dat file. This step is used to avoid copying some files back from the backup directory.

    With Visual Sourcesafe 4.0 or later, run DDCONV from the applicable platform directory (WIN32, DOS, WIN):

    DDCONV <data path>

  4. If there is no problem with the users' rights, then the Rights.dat file may be copied from the backup directory back to the Data directory.

    NOTE: If the MS-DOS prompt returned very quickly, verify that the user deleted the Rights.dat, Status.dat, and Version.dat files from the Data directory. If any of these files remain when Ddconv is run, the Ddconv utility will fail. These files must be removed or renamed.


Keywords : kbtool SourceSafe ss3 vbwin vss kbhowto
Version : 3.04 3.1 4.0 5.0
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.