Error occurred registering this project with Source Control

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Error occurred registering this project with Source Control

Post by btd » Tue May 20, 2008 7:14 am

Whwn I opened my Visual Studio 2008 project today, I get this strange error.
The projectg 'PWRSpadefoot' 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.

What can I do to fix this?


Thanks

btd

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

Post by lbauer » Tue May 20, 2008 7:36 am

What version of Vault are you using?

Are you using the enhanced or classic client?
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Error occurred registering this project with Source Control

Post by btd » Tue May 20, 2008 7:51 am

Vault 3.16 (3658) SG
I think I'm using classic client but not sure. How do I check?
Thanks
btd

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

Post by lbauer » Tue May 20, 2008 3:49 pm

Vault versions prior to Vault 4.0 used only the Classic Client.

We haven't tested VS 2008 with Vault 3.1.6 and don't officially support it.

Was this working before? Did something change with the project before you got this error?

You could try unbinding and rebinding, using the File->Source Control->Source Control menu

Or, try a fresh Open from Source Control to a clean working directory.
Linda Bauer
SourceGear
Technical Support Manager

brettemiller
Posts: 8
Joined: Tue Aug 29, 2006 7:47 am

Re: Error occurred registering this project with Source Control

Post by brettemiller » Fri Feb 27, 2009 9:41 am

Hmmm. I experienced the same thing this morning. I'm running VS 2008, Win XP Pro SP3, and Fortress version 1.1.4.18402. I tried a number of fixes on the web (Perforce suggestions, Sourcegear Support suggestions) without much luck. I eventually resolved the problem by opening Visual Studio, selecting Tools --> Options --> Source Control and selecting the plug in to be: "SourceGear Fortress Visual Studio Enhanced Client". I suspect, however, that re-installing the Fortress client was what really fixed the problem. So I would recommend these steps:

1) Close Visual Studio

2) Close Fortress / Vault

3) Re-run the Fortress / Vault msi installer. Choose to "repair" your installation

4) Open Visual Studio. Re-set the plug-in. Tools --> Options --> Source Control. Select: "SourceGear Fortress Visual Studio Enhanced Client"

5) Try to re-open your solution. Cross your fingers.

As for how this happened, well, I suspect it was related to installing SQL Management Studio Express last night?

--Brett

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

Re: Error occurred registering this project with Source Control

Post by lbauer » Fri Feb 27, 2009 1:32 pm

Code: Select all

I suspect it was related to installing SQL Management Studio Express last night
Or maybe gremlins.

The error "An error occurred registering this project with source control" is somewhat generic, and means there's something wrong with accessing the source control provider, but doesn't give any details. In your case, something may have switched a settomg in the registery that switched Visual Studio to using the Classic Client integration, rather than Enhanced, which caused an error when you tried to open a project bound to the Enhanced client.

SQL Server Management Studio uses only the Classic Client integration, BTW.

Post Reply