FIX: "Remove Local Copy After Add or Check In" Option Deletes Master (190747)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q190747

SYMPTOMS

After you add a Web to source control, the content of the Master Web is deleted.

-or-

After you add a new file to a source-controlled Web, the file is deleted.

-or-

After you check in a file, it is deleted.

CAUSE

This problem occurs when the user selects the Remove Local Copy After Add or Check In check box in Microsoft Visual SourceSafe Options dialog box.

RESOLUTION

Two problems need to be resolved. First, to prevent this from happening again, follow these 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 Remove Local Copy After Add or Check In check box, and then click OK.
The second task is to restore your content. To do this, simply issue a Recalculate Links command within Visual InterDev or Microsoft FrontPage. The latest content is retrieved from Visual SourceSafe and replaced into your Web.

NOTE: Because this setting is set for each individual database user, repeat the above steps for each user that has changed this setting.

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 additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

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

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

MORE INFORMATION

Steps to Reproduce Behavior

  1. In the SourceSafe Explorer, open the database as the affected user.
  2. From the Tools menu, select Options, and click the Local Files tab.
  3. Clear the Remove Local Copy After Add or Check In check box, and then click OK.
  4. Within Visual InterDev or FrontPage, attempt any of the three operations that are listed in the "Symptoms" section.

Modification Type:MinorLast Reviewed:12/12/2005
Keywords:kbBug kbfix kbVS600sp3fix KB190747