Microsoft KB Archive/841707

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

Article ID: 841707

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition

-





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 &quot;Symptoms&quot; 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:  Click Start, and then click Run. In the Open box, type regedit, and then click OK to start Registry Editor. In Registry Editor, locate the following registry subkey:

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

 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:  Right-click SCCServerPath, and then click Modify.</li> 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.</li></ol> </li> Click OK.</li> Start Visual Studio .NET 2003 or Visual Studio 2005.</li> 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 &quot;Symptoms&quot; section.</li></ol>

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

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.

<div class="references_section">