Loading a solution in Visual Studio fails in Vault 3.0
Moderator: SourceGear
Loading a solution in Visual Studio fails in Vault 3.0
Hey there,
We have just upgraded to Vault 3.0 and we are having trouble with a large solution file (20 projects) which used to work fine on 2.06.
When you load the solution in Visual Studio it starts loading in all the projects and at a random point in time it stops and pops up the error:
[Source Control]
An error occured when you attempted to access the source control system.
Check Installation.
[OK] [Help]
And from that point on, I get the following message for the other projects:
The project xxx.csproj appears to be under control, but no source control provider is installed on this computer. Source control will be disabled for this project.
However, there obviously is a provider installed (since it worked for the projects loaded in so far / works for other solutions). It just seems that when there is a large amount of projects in a solution the client dies.
Is there a log file on the client I can check? (The server log file just says that I managed to log in successfully)
Thanks,
Shaun
We have just upgraded to Vault 3.0 and we are having trouble with a large solution file (20 projects) which used to work fine on 2.06.
When you load the solution in Visual Studio it starts loading in all the projects and at a random point in time it stops and pops up the error:
[Source Control]
An error occured when you attempted to access the source control system.
Check Installation.
[OK] [Help]
And from that point on, I get the following message for the other projects:
The project xxx.csproj appears to be under control, but no source control provider is installed on this computer. Source control will be disabled for this project.
However, there obviously is a provider installed (since it worked for the projects loaded in so far / works for other solutions). It just seems that when there is a large amount of projects in a solution the client dies.
Is there a log file on the client I can check? (The server log file just says that I managed to log in successfully)
Thanks,
Shaun
Yes, the client log file would be the place to start on this. See http://support.sourcegear.com/viewtopic.php?t=2146 for instructions on how to get a log for the IDE client.
Just curious: If you do an Open From Source Control to a fresh working folder, does it exhibit the same behavior?
Just curious: If you do an Open From Source Control to a fresh working folder, does it exhibit the same behavior?
Fixed with Client Install of 3.0.1
I installed the latest client and server and everything seems to be working...
Maybe not...
I take that back - it started failing again - the last message I have in the log file is:
12/15/2004 6:33:44 PM <ide>: [<No Name>:2872] [SCCOpenProject] bCreateIfNew=False, bSilentOpen=False, projectName="$/Common/ErrorLogging", localPath="C:\Documents and Settings\s.mccarthy.IS\My Documents\Visual Studio Projects\CreditSights\Common\ErrorLogging", serverPathAndProfile="http://vault.is.not/VaultService|Shaun", storedRepID="3"
at VaultClientPresentationLib.GUIClientInstanceCOMWrapper.SCCOpenProject(Boolean, Boolean, String, String, String, String)
?
12/15/2004 6:33:44 PM <ide>: [<No Name>:2872] [SCCOpenProject] bCreateIfNew=False, bSilentOpen=False, projectName="$/Common/ErrorLogging", localPath="C:\Documents and Settings\s.mccarthy.IS\My Documents\Visual Studio Projects\CreditSights\Common\ErrorLogging", serverPathAndProfile="http://vault.is.not/VaultService|Shaun", storedRepID="3"
at VaultClientPresentationLib.GUIClientInstanceCOMWrapper.SCCOpenProject(Boolean, Boolean, String, String, String, String)
?
Re: Maybe not...
Does the working folder of "C:\Documents and Settings\s.mccarthy.IS\My Documents\Visual Studio Projects\CreditSights\Common\ErrorLogging" seem correct?
Also, is the connection string of "http://vault.is.not/VaultService" valid (or was that edited before sending it to the forum)?
Also, have you tried a brand new Open From Source Control? It might reset whatever is causing the problem with connecting.
Also, is the connection string of "http://vault.is.not/VaultService" valid (or was that edited before sending it to the forum)?
Also, have you tried a brand new Open From Source Control? It might reset whatever is causing the problem with connecting.
Update on load
I thought the problem had gone away (I deleted all the scc files) but it has come back again. The working directory and url are correct - note that the problem is intermittent - sometimes it works, and sometimes it doesn't, so it doesn't sound like a configuration issue to me... It fails on different projects (rather than the same one each time)
I have attached the .sln file
Shaun
I have attached the .sln file
Shaun
- Attachments
-
- cf.txt
- Solution File
- (25.23 KiB) Downloaded 1040 times
In looking at the solution file, these lines look funny:
SccProvider[X] = MSSCCI:SourceGear\u0020Vault\u0020Client
I am guessing the \u0020 is code for a space. However, this may be confusing something along the way.
Also, which kind of projects are in your solution, and which version of VS are you using? The test solutions I have here don't have SCCPROVIDER in the solution file at all. They are in the project files, and look like:
SccProvider = "SAK"
Which means the provider information didn't need to be written there because it is stored somewhere else (according to a google search at http://groups-beta.google.com/group/mic ... e310cd44ec )
So, next suggestions would to:
1. Really do try a new Open From Source Control to a brand new working fodler if you have not done that. I suspect there is something stored somewhere in a solution/binding/project file that is causing confusion.
2. Try hand editing the solution file (after making a copy of it) to either remove the funky \u0020 and replacing them with a space, or possibly removing the line altoghether, or possibly replacing the value with "SAK". These are all complete guesses, and may cause no projects to load at all with that version of the solution file, but it is worth a shot.
SccProvider[X] = MSSCCI:SourceGear\u0020Vault\u0020Client
I am guessing the \u0020 is code for a space. However, this may be confusing something along the way.
Also, which kind of projects are in your solution, and which version of VS are you using? The test solutions I have here don't have SCCPROVIDER in the solution file at all. They are in the project files, and look like:
SccProvider = "SAK"
Which means the provider information didn't need to be written there because it is stored somewhere else (according to a google search at http://groups-beta.google.com/group/mic ... e310cd44ec )
So, next suggestions would to:
1. Really do try a new Open From Source Control to a brand new working fodler if you have not done that. I suspect there is something stored somewhere in a solution/binding/project file that is causing confusion.
2. Try hand editing the solution file (after making a copy of it) to either remove the funky \u0020 and replacing them with a space, or possibly removing the line altoghether, or possibly replacing the value with "SAK". These are all complete guesses, and may cause no projects to load at all with that version of the solution file, but it is worth a shot.
Still no luck
I decided to create a brand new solution and import each project individually from source control. About halfway through the import process it threw up the same error and Visual Studio crashed. Could it be a problem with the server?
Server Problem
Hey Dan,
Fortunately, this problem only seems to be affecting the one solution at the moment, so I only have to deal with it every few weeks when we need to change that solution. However, after remaking the solution a few times, it seems to be a function of the fact there are 20 or so projects in it, rather than the composition of the file.
How do I put the server into debug mode?
Shaun
Fortunately, this problem only seems to be affecting the one solution at the moment, so I only have to deal with it every few weeks when we need to change that solution. However, after remaking the solution a few times, it seems to be a function of the fact there are 20 or so projects in it, rather than the composition of the file.
How do I put the server into debug mode?
Shaun
Severity Increased
It seems that it's not solution specific - just very intermittent... My hunch is that the server gets overloaded and can't respond to the client requests, which causes the client to crash.
Shaun
Shaun
Re: Loading a solution in Visual Studio fails in Vault 3.0
Just wanted to add that we too have recently upgraded to 3.0 and we get this same exact error frequently! When we get the error, we simply close the solution, and try again, and the second or third time it works without a problem (hopefully). Our solution contains 13 projects, FYI. Perhaps unrelated, but sometimes I open the solution and get a "Connect to Server (vault)" dialog for EVERY project in the solution (i.e., thirteen times I need to enter username and password).We have just upgraded to Vault 3.0 and we are having trouble with a large solution file (20 projects) which used to work fine on 2.06.
When you load the solution in Visual Studio it starts loading in all the projects and at a random point in time it stops and pops up the error:
[Source Control]
An error occured when you attempted to access the source control system.
Check Installation.
[OK] [Help]
And from that point on, I get the following message for the other projects:
The project xxx.csproj appears to be under control, but no source control provider is installed on this computer. Source control will be disabled for this project.