PRB: Version not found Error in InterDev after rolling back a file in VSS
ID: Q237681
|
The information in this article applies to:
-
Microsoft Visual SourceSafe, 32-bit, for Windows versions 5.0, 6.0
-
Microsoft Visual InterDev, versions 1.0, 6.0
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.
RESOLUTION
Recalculate 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.
MORE INFORMATION
Steps to Reproduce Behavior
- Follow instructions below to rollback a web file that is under Source Control.
- In InterDev, right click on the file and select "Get Latest Version".
- Error message appears.
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
Additional query words:
vid server extensions
Keywords : kbinterop kbSSafe500 kbSSafe600 kbSSExplorer kbVisID kbVisID100 kbVisID600 kbGrpSSafe
Version : WINDOWS:1.0,5.0,6.0
Platform : WINDOWS
Issue type : kbprb