Unable to add solution to source control

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

Moderator: SourceGear

Post Reply
Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Unable to add solution to source control

Post by Nihimon » Wed Sep 12, 2007 1:26 pm

I am trying to get up and running on Vault 4.0.4.15848 (server is same version) and after a couple of false starts, I'm at a stand-still.

I am trying to add my solution to vault, but I keep getting an error message "Can't call this on an offline project."

I had added the solution before, then deleted it from vault, and finally obliterated it. I still can't add it back.

Matt Knowles

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

Post by Beth » Wed Sep 12, 2007 2:09 pm

Which of the interfaces to Visual Studio are you using? (VS 2005 or 2003)

Can you check your Vault server log for corresponding errors? That would be located in C:\Windows\temp\sgvault.

Could you start up IDE logging for me, recreate it, and then zip up the IDE log and either post it or send it to support at sourcegear.com (attn: Beth) with a link to this post? Details on logging for the VS 2005 IDE can be found here: http://support.sourcegear.com/viewtopic.php?p=5375

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

Post by Beth » Thu Sep 13, 2007 7:57 am

If you are using the VS 2005 client in Visual Studio, you can try deleting the VSIP local online/offline settings at: C:\Documents and Settings\USER\Local Settings\Application Data\SourceGear\VsipSccClient.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Thu Sep 13, 2007 7:58 am

The offline state of a project is saved in this file:

<local appdata>\SourceGear\VsipSccClient\VsipClientProjectSettings.xml

It may be helpful to manually reset your projects' offline state.

EDIT: Oops. Beth beat me to it. :)
Ian Olsen
SourceGear

Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Post by Nihimon » Thu Sep 13, 2007 10:06 am

Thank you. Removing the entries from the .xml file you mentioned worked like a charm.

For the record, I'm using the VS 2005 client in VS 2005. I'm sure I'm doing some unusual things as I move stuff around, delete and re-add trying to find out how Vault organizes things and such. One of the things I'm doing is removing the superflous <Solution>.root directory that VSS wanted me to have.

Thanks again,
Matt Knowles

Post Reply