FIX: Remove Local Copy After Check-in Option Deletes Master

ID: Q190747


The information in this article applies to:


SYMPTOMS

After adding a Web to source control, the Master Web's content is deleted.

-or-

After adding a new file to a source controlled web, the file is deleted.

-or-

After checking in a file, it is deleted.


CAUSE

The user has selected the option to Remove Local Copy After Add or Check In in Visual SourceSafe's Options dialog box.


RESOLUTION

There are two problems that need to be resolved. First, you will want to prevent this from happening again by using the following steps:

  1. In the SourceSafe Explorer, open the database as the affected user.


  2. From Tools menu, select Options, and click the Local Files tab.


  3. Clear the box to Remove Local Copy After Add or Check In.


  4. Click OK.


The second task is to restore your content. To do this, simply issue a Recalculate Links command within Visual InterDev or FrontPage. The latest content will be retrieved from Visual SourceSafe and replaced into your Web.

Note that since this setting is set for each individual database user, you will need to repeat the above steps for each user that has changed this setting.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products 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:

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

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


MORE INFORMATION

Steps to Reproduce Behavior

  1. In the SourceSafe Explorer, open the database as the affected user.


  2. From Tools menu, select Options, and click the Local Files tab.


  3. Clear the box to Remove Local Copy After Add or Check In.


  4. Click OK.


  5. Within Visual InterDev or FrontPage attempt any of the three operations listed in the SYMPTOMS section.


Additional query words:


Keywords          : kbExtension kbFrontPage kbServer kbSSafe kbVisID600bug kbGrpASP kbVS600sp3fix 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 9, 1999