Source Control menu items greyed out in Visual Studio 2003

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Fri Sep 26, 2008 12:11 pm

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

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Source Control menu items greyed out in Visual Studio 2003

Post by lbauer » Fri Sep 26, 2008 12:54 pm

Could you post a screenshot of what are seeing?
Linda Bauer
SourceGear
Technical Support Manager

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Sun Sep 28, 2008 4:00 pm

[img]vista.jpg[/img]
Attachments
vista.jpg
vista.jpg (41.94 KiB) Viewed 7403 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Control menu items greyed out in Visual Studio 2003

Post by Beth » Wed Oct 01, 2008 11:04 am

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

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Wed Oct 01, 2008 11:20 am

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.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Control menu items greyed out in Visual Studio 2003

Post by Beth » Wed Oct 01, 2008 12:26 pm

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?
Beth Kieler
SourceGear Technical Support

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Thu Oct 02, 2008 5:36 am

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.
Attachments
ss settings.jpg
ss settings.jpg (50.47 KiB) Viewed 7326 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Source Control menu items greyed out in Visual Studio 2003

Post by lbauer » Thu Oct 02, 2008 2:39 pm

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

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Thu Oct 02, 2008 4:50 pm

I have 32-bit Vista.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Source Control menu items greyed out in Visual Studio 2003

Post by lbauer » Fri Oct 03, 2008 3:06 pm

Could you send screenshots of the values under these registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider
HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
Linda Bauer
SourceGear
Technical Support Manager

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Fri Oct 03, 2008 4:07 pm

Reg InstalledSCCProviders.jpg
Reg InstalledSCCProviders.jpg (69.23 KiB) Viewed 7299 times
Reg SourceCodeControlProvider.jpg
Reg SourceCodeControlProvider.jpg (64.72 KiB) Viewed 7299 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Source Control menu items greyed out in Visual Studio 2003

Post by lbauer » Mon Oct 06, 2008 7:58 am

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.
Attachments
SourceControlProvider.gif
Registry
SourceControlProvider.gif (22.34 KiB) Viewed 7231 times
Linda Bauer
SourceGear
Technical Support Manager

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by nickbell » Thu Oct 09, 2008 4:00 am

Yes, that did the trick. Thanks for your help.
Nick

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Source Control menu items greyed out in Visual Studio 2003

Post by Beth » Thu Oct 09, 2008 12:57 pm

Thanks for the update. Happy to hear you're working.
Beth Kieler
SourceGear Technical Support

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: Source Control menu items greyed out in Visual Studio 2003

Post by kha » Mon Oct 13, 2008 11:56 am

Many thanks go all!! :mrgreen: I ran into the same problem. Thanks for posting this topic up!!

Post Reply