"Some of the properties associated with the solution could not be read" error message when you try to open a project in Visual Studio .NET 2003 or in Visual Studio 2005


Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry

Symptoms


When you try to open a project in Microsoft Visual Studio .NET 2003 or in Microsoft Visual Studio 2005, or when you try to create a project, you may receive the following error message:
Some of the properties associated with the solution could not be read.
Additionally, you may receive the following error message in Solution Explorer:
The project file cannot be loaded.
If you try to reload the project, you receive the following error message:
Unspecified Error

Cause


If you turn source code control on, Visual Studio .NET 2003 or Visual Studio 2005 tries to load the corresponding Microsoft Source Code Control Interface (MSSCCI) provider when you try to open a project or when you try to create a project. However, an MSSCCI provider that is registered in the Microsoft Windows Registry by using the relative path of the corresponding DLL may pose a security threat to your computer. Therefore, before Visual Studio .NET 2003 or Visual Studio 2005 loads an MSSCCI provider, Visual Studio .NET 2003 or Visual Studio 2005 verifies whether any MSSCCI provider on your computer is registered by using a relative path.

If any MSSCCI provider on your computer is registered by using a relative path, the behavior that is mentioned in the "Symptoms" section occurs.

Resolution


Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, modify the corresponding registry entry for each MSSCCI provider that is registered by using the relative path of the corresponding DLL. Modify the registry entry so that the MSSCCI provider is registered by using the absolute path of the DLL instead. To do this, follow these steps:
  1. Click Start, and then click
    Run.
  2. In the Open box, type
    regedit, and then click OK to start Registry Editor.
  3. In Registry Editor, locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders

    Notice that each of the registry entries for this subkey contains information about a registry subkey under HKEY_LOCAL_MACHINE. For example, the
    Microsoft Visual SourceSafe registry entry contains the following data: Software\Microsoft\SourceSafe
  4. For each of the registry entries that you noticed in step 3, locate the corresponding registry subkey. For example, locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SourceSafe
  5. For each of the registry subkeys that you located in step 4, if the corresponding SCCServerPath registry entry contains a relative path, follow these steps:
    1. Right-click SCCServerPath, and then click Modify.
    2. Type the absolute path of the MSSCCI provider DLL in the Value data box. You can use Windows Search to locate this absolute path.

      Note Contact your MSSCCI provider vendor to verify that this step does not interfere with the functionality of your MSSCCI provider.
  6. Click OK.
  7. Start Visual Studio .NET 2003 or Visual Studio 2005.
  8. On the File menu, point to
    New, and then click Project. Notice that you can successfully create a project, and you do not see the behavior that is mentioned in the "Symptoms" section.

Status


This behavior is by design.

More Information


Steps to reproduce the behavior

On a computer that has an MSSCCI provider that is registered by using a relative path, follow these steps:
  1. Install Visual Studio .NET 2003 or Visual Studio 2005.
  2. Turn on source code control.
  3. In Visual Studio .NET 2003 or Visual Studio 2005, try to create a Microsoft Visual Basic .NET or Microsoft Visual Basic 2005 Windows Application project or create a Microsoft Visual C# .NET or Microsoft Visual C# 2005 Windows Application project.

References


For moreinformation, visit the following Microsoft Developer Network (MSDN) Web sitesFor additional information, click the following article number to view the article in the Microsoft Knowledge Base:

820833 PRB: "Unspecified rror" error message when you perform a Source Control Operation in Visual Studio .NET 2003