Source Control menu items greyed out in Visual Studio 2003
Moderator: SourceGear
Source Control menu items greyed out in Visual Studio 2003
Hi, I have just installed visual studio 2003 and Sourcegear Vault 4.1.3 on Vista. I have made sure the 'Make Vault your default SCC Provider' option is checked under the Vault Tools menu but I am unable to use Source Control in Visual Studio. All of the source control menu items under the File menu in Visual Studio are greyed out. Is there something else I need to do to get it working.
Thanks
Thanks
Re: Source Control menu items greyed out in Visual Studio 2003
Could you post a screenshot of what are seeing?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Source Control menu items greyed out in Visual Studio 2003
[img]vista.jpg[/img]
- Attachments
-
- vista.jpg (41.94 KiB) Viewed 7405 times
Re: Source Control menu items greyed out in Visual Studio 2003
Open a project or solution and see if they are still grayed out. I think you have to have something open first.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Source Control menu items greyed out in Visual Studio 2003
Well you shouldn't need to have a project open because even with no project open the menu should contain an item to 'Open Project from Source Control' which as you can see is missing.
As this is a new machine I have clicked the Get Latest Version option within the Vault client and then tried to open the got project in Visual Studio. I get the following error message:
"The solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control."
When I continue Source control is disabled completely and the Source Control item disappears from the File menu.
Normally when I get this on a new machine I use the Open Project from Source Control option from the file menu but, as discussed, this is not available.
As this is a new machine I have clicked the Get Latest Version option within the Vault client and then tried to open the got project in Visual Studio. I get the following error message:
"The solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control."
When I continue Source control is disabled completely and the Source Control item disappears from the File menu.
Normally when I get this on a new machine I use the Open Project from Source Control option from the file menu but, as discussed, this is not available.
Re: Source Control menu items greyed out in Visual Studio 2003
Did you install Vault before or after VS 2003?
In VS 2003, what do you have set under Tools - Options - Source Control - General?
Is there a login showing under Tools - Options - Source Control - SCC Provider?
In VS 2003, what do you have set under Tools - Options - Source Control - General?
Is there a login showing under Tools - Options - Source Control - SCC Provider?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Source Control menu items greyed out in Visual Studio 2003
I installed vault after VS 2003. I then uninstalled VS 2003 and Vault, reinstalled VS 2003 and upgraded my Vault client to the latest version and problem persists.
Tools/Options/Sourcesafe/General screen attached.
No login is shown under Tools - Options - Source Control - SCC Provider and the login input box is disabled.
Tools/Options/Sourcesafe/General screen attached.
No login is shown under Tools - Options - Source Control - SCC Provider and the login input box is disabled.
- Attachments
-
- ss settings.jpg (50.47 KiB) Viewed 7328 times
Re: Source Control menu items greyed out in Visual Studio 2003
Do you have 32-bit or 64-bit Vista? It looks like some of the registry settings may not be right.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Source Control menu items greyed out in Visual Studio 2003
I have 32-bit Vista.
Re: Source Control menu items greyed out in Visual Studio 2003
Could you send screenshots of the values under these registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Source Control menu items greyed out in Visual Studio 2003
It looks like your registry does not have information about the source control provider. Take a look at the screenshot from my registry. Try creating the ProviderRegKey, with the data being Vault client. I also have a Fortress on my machine, so I have other source control providers, but you don't need to add them, just the first one.
Let me know if that doesn't resolve the problem.
Let me know if that doesn't resolve the problem.
- Attachments
-
- Registry
- SourceControlProvider.gif (22.34 KiB) Viewed 7233 times
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Source Control menu items greyed out in Visual Studio 2003
Yes, that did the trick. Thanks for your help.
Nick
Nick
Re: Source Control menu items greyed out in Visual Studio 2003
Thanks for the update. Happy to hear you're working.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Source Control menu items greyed out in Visual Studio 2003
Many thanks go all!! I ran into the same problem. Thanks for posting this topic up!!