We have just updated our source safe to 2005 and we use visual studio 2008 sp1. We have the startup page set as "last used project".
When we first start Studio and then changes the project by using the "Recent Projects" Studio then crashes on VIsta mashines. On XP machines the is a number of error messages but no crash. The Project then gets unavailable on XP machines. The XP error messages is "The project <project_name> is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project." The another error comes: "Unexpected error encountered. It is recommended that you restart the application as soon as possible." "Error: HRESULT: 0x8000ffff" "File: vsee\pkgs\vssprovider\sccprj.cpp" "Line number: 3936"
Last this error comes: "One or more projects in the solution could not be loaded for the following reason(s): "The application for the project is not installed." "These projects will be labeled as unavailable in Solution Explorer.Expand the project note to show the reason the project could not be loaded."
The problem only occure if a project is loaded at startup. If the startup page is set to "home Page" the "last used projects" works fine.
Any one that know a solution for this problem? I don't know if it is Studio or source safe that creates the problem.
You can try removing all the VSS related files .scc & .vspscc in the Working folder, and then in the .CSProj , removed all the 4 lines <SccProjectName>...</SccProjectName> <SccLocalPath>...</SccLocalPath> <SccAuxPath>...</SccAuxPath> <SccProvider>...</SccProvider>
You can try removing all the VSS related files .scc & .vspscc in the Working folder, and then in the .CSProj , removed all the 4 lines <SccProjectName>...</SccProjectName> <SccLocalPath>...</SccLocalPath> <SccAuxPath>...</SccAuxPath> <SccProvider>...</SccProvider>