FIX: "Unspecified Error" messages after you rename a subproject in a Visual Studio .NET Enterprise Template project in Visual SourceSafe 6.0c (317574)



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 Q317574

SYMPTOMS

If you rename a subproject in a Visual Studio .NET Enterprise Template project before you check out the solution, Visual SourceSafe updates the solution but does not check out the solution.

Later, when another user tries to work with the source code control copy of the project, the user may receive "Unspecified Error" messages.

CAUSE

When you rename the subproject, Visual SourceSafe updates the source control information in memory to the solution file. However, because you did not check out the solution file, SourceSafe does not change the source control copy of the solution.

WORKAROUND

To work around this issue, follow these steps:
  1. Close the solution, which may require you to quit the Visual Studio .NET integrated development environment (IDE).
  2. Delete all of the .vsscc, the .vssscc, and the .vspscc files from all of the project and solution folders.
  3. Reopen the solution.
  4. Remove any projects that will not load, and then add them.

    Projects may not load for several reasons, for example, because the binding information may be incorrect, or because you may receive errors.
  5. Add the solution to source code control to a new project.

STATUS

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

This bug was corrected in Visual Studio .NET 2003.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Follow these steps on computer 1:
    1. Create a new Visual Basic simple distributed application by using the Enterprise Template projects.
    2. Set the Web locations to a web server by using the File Share connection.

      To determine which access method you are using, in Visual Studio, click Tools, and then click Options. In the left pane of the dialog box, click Projects, click Web Settings, and then locate the Web Server connection property. The default setting is File share, but you can also select FrontPage Extensions.
    3. Add the solution to source code control.
    4. Select a Client project, and then check out the project.
    5. Press F2 to rename the subproject, type a new name, and then press ENTER.
    6. Right-click the Enterprise Template Project, and then click Check Out.
    7. When you receive a warning about renaming the project, click Continue.
    8. Check in all of the files that are listed in the Pending Checkins dialog box.
  2. Follow these steps on computer 2:
    1. Start the Visual Studio .NET IDE.
    2. On the File menu, click Source Control, and then click Open from Source Code Control.
    3. Locate the project that you created on computer 1 (step 1c).
    4. Open the project to a shared universal naming convention (UNC) path folder.
    5. Each time that you receive a "not trusted" warning, click OK.
    6. Note the warning that the renamed project is not available, and then click OK.
    7. Rename a Web project. Note that the project is renamed, however, the project does not appear as checked out.
    8. Check out the Enterprise Template Project file.
    9. Rename a client project.
    10. Check in the solution.

      Notice that you receive multiple recurrent "Unspecified Error" messages.
NOTE: If you rename a file in the .NET IDE, Visual SourceSafe does not rename the corresponding SourceSafe file.

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

305516 INFO: SSAFE: Renames and Deletions Not Supported for Source Code Control Through the Visual Studio .NET IDE


Modification Type:MinorLast Reviewed:8/12/2005
Keywords:kbvs2002sp1sweep kbfix kbbug kbpending KB317574 kbAudDeveloper