Microsoft KB Archive/197050

= FIX: "Version Not Found" Error With Command Line GET =

Article ID: 197050

Article Last Modified on 3/10/2005

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition

-



This article was previously published under Q197050



SYMPTOMS
In Visual SourceSafe (VSS), when doing a GET at the command line using the -r (recursive) and -vl (label) switches, you receive the following error and not all files are retrieved:

"version not found"



RESOLUTION
If all clients accessing the database are Visual SourceSafe version 6.0 or later, run DDUPD against the data directory to convert the database to the new format. If some clients are earlier versions of VSS, use the following workaround.

To work around this problem, select Options from the Tools menu. In the General tab, select the "Act on Projects Recursively" option (note that after changing this setting you must exit the VSS explorer for it to work on the command line). On the command line, use wildcards instead of the -r switch.

For example, if the command that is failing is: ss get $/myproj -r -vlbeta1 then use: ss get $/myproj/*.* -vlbeta1



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 Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



MORE INFORMATION
This problem occurs when using a Visual SourceSafe 6.0 client against a database that has not been upgraded to the Visual SourceSafe 6.0 format.

Steps to Reproduce Behavior
 Using the VSS 6.0 client, open a VSS 5.0-formatted database. Create a project ($/Project1/test). Apply label ("LABEL")to $/Project1.  Run the following command: SS GET -R -VLLABEL $/Project1 

