PRB: Using the "Sharing" Feature in the Visual SourceSafe Explorer on a Visual InterDev Project Causes a Version Mismatch (304237)



The information in this article applies to:

  • Microsoft Visual SourceSafe, 32-bit, for Windows 5.0
  • Microsoft Visual SourceSafe, 32-bit, for Windows 6.0

This article was previously published under Q304237

SYMPTOMS

When you use the "sharing" feature in the Visual SourceSafe Explorer on a Microsoft Visual InterDev (VisID) integrated project, a version mismatch problem arises.

CAUSE

Microsoft FrontPage Server Extensions holds the version number for the file in configuration files. When you issue a "get latest version", the Server Extensions read their configuration files and get that version. So what you really are getting is the last version that the Front Page Server Extensions knows about instead of the latest version stored in SourceSafe. This information is stored on a per file, per project basis.

RESOLUTION

If you must use sharing on a Visual InterDev integrated project, do one of the following after using the "sharing" feature within the Visual SourceSafe Explorer.
  • Instead of "getting latest version" from within the Visual InterDev integrated development environment, simply check out the file. This will get the latest shared version.
  • Under \Inetpub\Wwwroot delete the _vti_cnf folders for the affected web, and then from Visual InterDev, right-click the project and choose Recalculate Links from the context menu.NOTE: If you know what all the effected files are you can simply delete the corresponding files under the _vti_cnf folders and then use recalculate links.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a Visual InterDev project called Project1 and put it under Visual SourceSafe control.
  2. Add a file to Project1, such as Default.htm.
  3. Create a second Visual InterDev project, called Project2, and put it under Visual SourceSafe control.
  4. Start the SourceSafe explorer and right-click Default.htm in Project1, drag it to Project2, and then click share. Do not select the share and branch option.
  5. In Visual InterDev, open Project2 and note that the Project Explorer does not list "Default.htm". Run Recalculate Links, and the Project Explorer will be updated.
  6. Close Project2 and reopen Project1. Check out Default.htm, modify it, save it, and then check it back in.
  7. Close Project1 and reopen Project2. Open Default.htm and note that the changes made in step 6 do not appear.

Modification Type:MajorLast Reviewed:8/11/2001
Keywords:kbDSupport kbprb KB304237