Default Repository not working

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

Moderator: SourceGear

Post Reply
Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Default Repository not working

Post by Dino » Wed Sep 21, 2005 3:50 pm

Since the 3.1.2 upgrade, VS.Net *always* asks me to pick a repository, despite my profile being set to default to the only repository I have. Vault Client doesn't ask me however. I have edit the profile, deselected and reselected the option etc but still no joy.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Sep 21, 2005 3:57 pm

There might be a problem in your mssccprj.scc file (it might contain the wrong repository id, which would cause it to try to login to an incorrect repository, and then display the dialog).

Check the mssccprj.scc file in your solution or project folder, and make sure the rep id is correct (see http://support.sourcegear.com/viewtopic.php?t=2474 for a description of the format of the file). If you've only ever had one repository, there should be a :1 at the end of the line.

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Wed Sep 21, 2005 4:00 pm

SCC = This is a source code control file

[ExtraMile.iChange.sln]
SCC_Aux_Path = http://www.xceptionsoftware.com/VaultService|Xception:1
SCC_Project_Name = $

That's the correct URL, and the correct repository... has not changed in about 6 months.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Sep 21, 2005 7:53 pm

Is this the same for every project in that solution as well?

I would suggest turning on IDE logging (see the knowledge base) - it may contain extra info that would help track it down.

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Wed Sep 21, 2005 10:45 pm

Seems it's doing it in more than one solution too - every solution asks me for the repository now... but only since installing 3.1.2

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Sep 22, 2005 7:48 am

OK - send me the log file and we'll see if there is anything there that helps track it down. Is this on the same solution you are having troubles with in http://support.sourcegear.com/viewtopic ... 8444#18444

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Thu Sep 22, 2005 1:32 pm

That solution is having these problems too, but so are all my other solutions.

Which log file? From the server?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Sep 22, 2005 2:07 pm

There is an IDE log (described at http://support.sourcegear.com/viewtopic.php?t=2898), and you might also want to turn on the regular client log as well.

Dino
Posts: 120
Joined: Mon Apr 19, 2004 8:34 pm

Post by Dino » Thu Sep 22, 2005 2:20 pm

Have done so, and will post the log file shortly. You may wish to edit the article, as it states :

Create a new key value titled "SCCLogFileName"

Keys are in the tree on the left - it should say Create a new string value titled "SCCLogFileName".

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri Sep 23, 2005 7:28 am

After looking at the log file, it looks like the issue here was some files included in projects that were outside the project root, which causes Visual Studio to send incorrect binding information to Vault.

Post Reply