Article ID: 173387
Article Last Modified on 2/24/2005
APPLIES TO
- Microsoft Visual SourceSafe 5.0 Standard Edition
- Microsoft Visual SourceSafe 6.0 Standard Edition
This article was previously published under Q173387
SYMPTOMS
After you have archived an entire database with the SSARC utility and you
try to restore it with SSRESTOR, you receive the following error:
The path $/ is already in use. Cannot restore path from archive file.
CAUSE
The syntax you used was:
SSRESTOR [-s path to srcsafe.ini] <archive file> $/
SSRESTOR attempts to create a new project in the target database, with the
name of the project given in the SSRESTOR command. Because the root project
($/) will always exist in the target database, the restored root project
cannot be created.
RESOLUTION
To resolve this error, either:
- Repeat the SSRESTOR command multiple times, once for each top-level
project.
-or-
- In the original project, share the entire project tree to a new project,
and then archive and restore this project.
STATUS
This behavior is by design. According to the User's Guide (Appendix B page
219 for Visual SourceSafe 5.0), "if restoring attempts to create a
duplicate file or project name, the restore fails."
Keywords: kbprb KB173387