PRB: Version not found Error in InterDev after rolling back a file in VSS (237681)
The information in this article applies to:
- Microsoft Visual SourceSafe for Windows 5.0
- Microsoft Visual SourceSafe for Windows 6.0
- Microsoft Visual InterDev 1.0
- Microsoft Visual InterDev 6.0
This article was previously published under Q237681 SYMPTOMS
When you try to get a file after executing a rollback in Visual SourceSafe(VSS), the following error may occur:
Unable to get file 'filename'. Server error: Visual Source Safe failure. A "Version not found" error occurred while operating on file "SourceSafe file" Verify that the file's permissions are correct and that you have write access to the Visual Source Safe repository.
CAUSE
InterDev stores the Source Control information for files in the Server Extensions, including the current version of the file. When you execute a rollback in VSS, that version setting is not updated. When Visual Interdev tries to look for a file newer than what exists, the above error occurs.
RESOLUTIONRecalculate Resolution- Navigate to the \wwwroot\projectname\_vti_cnf directory.
- Find the file there with the same name as the one rolled back.
- Delete that file.
- Go into InterDev and select "Project | Web Project | Recalculate Links".
Edit Resolution- Navigate to the \wwwroot\projectname\_vti_cnf directory.
- Find the file there with the same name as the one rolled back.
- Open it in Notepad or another text editor.
- Find the line "vti_sourcecontrolversion:SX|V3".
- Change the last number to be the correct version number that the file was rolled back to.
- If the file is now at version one, should look like: "vti_sourcecontrolversion:SX|V1".
STATUS
This behavior is by design.
REFERENCES
Additional information can be found in the Visual SourceSafe product documentation by searching for these titles:
- How to Rollback to a Previous Version of a File
Additional information can be found in the Visual InterDev product documentation by searching for these titles:
- Updating Links
Modification Type: | Major | Last Reviewed: | 5/1/2001 |
---|
Keywords: | kbinterop kbprb kbSSExplorer KB237681 |
---|
|