Spent entirely too much time today figuring out why Visual Studio .NET 2003 solutions sometimes get wedged in a "some of the properties associated with the solution could not be read" state.
The solutions appear to be okay otherwise, but each time they are opened, you get the error message.
The problem is introduced when projects are added to the solution. I’ve observed it with web application projects already under Perforce source control.
The solution file (.sln) will have a SccNumberOfProjects value greater than the actual number of projects and there will be duplicates of some projects. The duplicates are typically missing the SccProjectFilePathRelativizedFromConnection# property.
To fix the problem (or at least to get rid of the error message):
1. Adjust the SccNumberOfProjects property value to the expected number.
2. Delete duplicate SourceCodeControl information. The usual sequence of properties is something like:
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 11
SccProjectName0 = Perforce\u0020Project
SccLocalPath0 = .
SccProvider0 = MSSCCI:Perforce\u0020SCM
CanCheckoutShared = true
SolutionUniqueID = {A0C7BB98-83C3-491B-9A97-CDE906E50E22}
SccProjectUniqueName1 = http://localhost/jq/h/JobQuake\u0020Help.csproj
SccLocalPath1 = JobQuake\u0020Help
CanCheckoutShared = true
SccProjectFilePathRelativizedFromConnection1 = http://localhost/jq/h
SccProjectUniqueName2 = http://localhost/jq/a/JobQuake\u0020Admin.csproj
SccLocalPath2 = JobQuake\u0020Admin
CanCheckoutShared = true
SccProjectFilePathRelativizedFromConnection2 = http://localhost/jq/a
3. Adjust the trailing indices on SccProjectUniqueName, SccLocalPath, and SccProjectFilePathRelativizedFromConnection to run from 1 to SccNumberOfProjects, inclusive.