FIX: You cannot check a project after you change your Web access method from "File Share" to "Front Page" in Visual SourceSafe 6.0c (318885)



The information in this article applies to:

  • Microsoft Visual SourceSafe 6.0c, when used with:
    • Microsoft Visual Studio .NET (2002), Professional Edition
    • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
    • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
    • Microsoft Visual Studio .NET (2003), Professional Edition
    • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
    • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
    • FrontPage 2000 Server Extensions from Microsoft

This article was previously published under Q318885

SYMPTOMS

After you change your Web access method from File Share to Front Page, you cannot check in the project from the Visual Studio .NET integrated development environment (IDE).

CAUSE

This problem occurs because of a bug in FrontPage 2000 Server Extensions that does not forward your domain information correctly to the Visual SourceSafe database.

RESOLUTION

To work around this problem, follow these steps:
  1. Follow these steps to disable anonymous browsing on the Web site in question:
    1. Open Microsoft Internet Information Services (IIS).
    2. Right-click the Web site, and then click Properties.
    3. Click the Directory Security tab, and then click Edit in the Anonymous Access and Authentication Control section.
    4. Click to clear the Anonymous Access check box.

      NOTE: If you need anonymous Web browsing, disable write permissions instead.
  2. Log on to the Visual SourceSafe database, and then manually check in the files.
  3. On the Project menu in the Visual Studio .NET IDE, click Web Project, and then click Recalculate Links. Notice that the files show that they are checked in.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

When FrontPage 2000 Server Extensions check out the file to write the connection information, FrontPage 2000 Server Extensions drops the domain information from your user ID. Therefore, although the project shows that it is checked out by User, the conflict occurs because the IDE properly uses Domain\User when you try to check in the project.

Steps to Reproduce the Behavior

  1. Create a Microsoft ASP.NET Web application in Microsoft Visual Basic .NET. Make sure that you use File Share access for the Web access method.
  2. Add the solution to source control. This must be the same database that the FrontPage 2000 Server Extensions are pointed to.
  3. On the File menu, point to Source Control, and then click Change Source Control to unbind the solution and the project from source control.
  4. Right-click the project, and then click Properties.
  5. Click Web Settings, and then click to select the FrontPage check box.
  6. Save and close the solution.
  7. Open Microsoft Internet Information Services (IIS), and then follow these steps to add the Web site to source control:
    1. Right-click the Web site, and then click Properties.
    2. Click the Server Extensions tab.
    3. Click Use External from the drop-down list box, and then add the project to the same location that you added the project to in step 2.
  8. Open the solution again in the Visual Studio .NET IDE. Notice that you cannot check in the files.

Modification Type:MinorLast Reviewed:8/29/2005
Keywords:kbvs2002sp1sweep kbbug kbpending KB318885 kbAudDeveloper