PRB: FrontPage Web Projects Are Only Partially Under Source Code Control Until Every User Refreshes the Open Project (317941)



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

This article was previously published under Q317941

SYMPTOMS

When you develop web projects in a team development environment and you use Microsoft FrontPage Server Extensions as your web source code control (SCC) integration method, you can lose data when multiple users edit a project if you modify the project directly from the Microsoft Internet Information Services (IIS) instead of checking out the project from the SCC Provider through the Visual Sudio .NET integrated development environment (IDE).

CAUSE

This data loss can occur because the second user modifies the web project before the first user has added the project to source control.

FrontPage Web Projects are only partially under source control until every user opens and refreshes the project. Visual Studio .NET is designed for every user to access the integrated source control environment through the Visual Studio .NET IDE.

RESOLUTION

Work only through your source code control provider and the Visual Studio .NET IDE. Do not work directly from the web server when you are in a team development environment.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. User 1 - create a FrontPage web: open a new Microsoft C# ASP.NET project, and then change Project type to FrontPage Server Extensions.

    To do this in the Visual Studio .NET IDE:
    1. On the Tools menu, click Options, click Projects, click Web settings and then change Preferred access method to FrontPage Extensions (from the default setting of File share).
    2. Share the Web Projects folder that is in the Inetpub\Wwwroot folder.
  2. User 2 - on the File menu, click Open, click Project from Web, and then browse by means of the UNC path to the web folder's shared location.
  3. User 1 - add the web to the source code control system by using IIS integration:
    1. Start the IIS Server Manager, right-click the web project, and then click Properties.
    2. On the Server Extensions tab, change Version control method to Use Internal.
  4. User 1 - close and then reopen the solution to refresh the project status.
  5. User 2 - make the following changes:
    1. Add two web forms to the project, and then save them.
    2. Open and change one of the forms.
    3. Delete the form that you did not change.
    4. On the File menu, click Save All. You may receive the following error message:
      An error occurred saving the project file <projectname.csproj>. Access is denied.
    5. If you receive this error message, edit the project options (described in step 1) to change Preferred access method to FrontPage Extensions.
  6. User 1 - right-click the root project, and then click Checkout.
NOTE: The forms that User 2 added in step 5a are not added to the project when User 1 clicks Get latest version. User 2 loses the webforms that were created during the process and retains some of the dependent files.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

307467 HOW TO: Create an ASP.NET Application from Multiple Projects for Team Development


Modification Type:MajorLast Reviewed:4/11/2003
Keywords:kbpending kbprb KB317941