Vault Annoyances
Moderator: SourceGear
Vault Annoyances
Greetings,
I'm using 3.1 for client, server and admin tool. The problem is that the vault client seems to forget that I want to automatically log in using the profile I've created. The most annoying aspect of it is that it doesn't happen every single time.
I use the vault client and have vault integrated with VS.Net as my default source control provider. I frequently use the client throughout the day to look at various repositories to see where I may need to get the latest version of code before starting to work on that particular project. Sometimes when I start the client I have to select my profile to log in with because the client has forgotten which profile to use . I always select the option to automatically login with the specified profile.
I have the same issue inside of Visual Studio. Sometimes while working on a project and I need to either check in or check out a file I'll receive an error dialog about an invalid username or password. When this happens I next see a dialog where I can enter my password or select a profile. (A nice feature would be to add the "automatically log in with this profile" checkbox to the VS.Net IDE portion of vault).
Has anyone else reported a similar issue? Are there any options in Vault I can try tweaking to correct this? Would a log file help?
I'm using 3.1 for client, server and admin tool. The problem is that the vault client seems to forget that I want to automatically log in using the profile I've created. The most annoying aspect of it is that it doesn't happen every single time.
I use the vault client and have vault integrated with VS.Net as my default source control provider. I frequently use the client throughout the day to look at various repositories to see where I may need to get the latest version of code before starting to work on that particular project. Sometimes when I start the client I have to select my profile to log in with because the client has forgotten which profile to use . I always select the option to automatically login with the specified profile.
I have the same issue inside of Visual Studio. Sometimes while working on a project and I need to either check in or check out a file I'll receive an error dialog about an invalid username or password. When this happens I next see a dialog where I can enter my password or select a profile. (A nice feature would be to add the "automatically log in with this profile" checkbox to the VS.Net IDE portion of vault).
Has anyone else reported a similar issue? Are there any options in Vault I can try tweaking to correct this? Would a log file help?
If you switch back and forth between the IDE and the Vault client, it will change how you login from one to the other.
Try using a profile in the IDE client, which causes the IDE to always automatically login for that project, and then won't affect the GUI client.
There are reports that this sometimes doesn't work, and we haven't been able to determine why, but there is an easy workaround at http://support.sourcegear.com/viewtopic.php?t=2474
Hope this helps
Try using a profile in the IDE client, which causes the IDE to always automatically login for that project, and then won't affect the GUI client.
There are reports that this sometimes doesn't work, and we haven't been able to determine why, but there is an easy workaround at http://support.sourcegear.com/viewtopic.php?t=2474
Hope this helps
Is the problem connecting with the Vault Client intermittent or does it forget your profile every time? If the problem is intermittent, does this happen after you have had the project open using VS.Net?
Do you have more than one profile?
Verify that "Remember password" and "automatically choose this repository" are checked for each profile, and that the password is correct.
When the "Automatically connect using this profile" box comes up unchecked for the profile you connected to automatically for the previous login, check the registry again for the values for AutomaticLogin, LastProfile and LastUsername to see if they are consistent with the profile you're trying to connect with.
Tonya Nunn
SourceGear Support
Do you have more than one profile?
Verify that "Remember password" and "automatically choose this repository" are checked for each profile, and that the password is correct.
When the "Automatically connect using this profile" box comes up unchecked for the profile you connected to automatically for the previous login, check the registry again for the values for AutomaticLogin, LastProfile and LastUsername to see if they are consistent with the profile you're trying to connect with.
Tonya Nunn
SourceGear Support
It is intermittent and there's a very good chance that it happens after I have opened a project in VS.Net. I typically have VS.Net running on my machine for the majority of the day. I will try to determine if there is any particular pattern to the events.Tonya wrote:Is the problem connecting with the Vault Client intermittent or does it forget your profile every time? If the problem is intermittent, does this happen after you have had the project open using VS.Net?
Nope, just one.Tonya wrote:Do you have more than one profile?
Tonya wrote:Verify that "Remember password" and "automatically choose this repository" are checked for each profile, and that the password is correct.
"automatically choose this repository" is not checked. I do not want to use the same repository each time I log into vault. We use vault for our web based projects. Right now our development team has 4 or 5 active projects. We use my machine as the build machine before deploying on the web server. It is not unusual for me to go into the vault client 5 - 10 times a day and do a get latest on one of the projects so I can build and deploy it.
The next time it happens I'll do this. Thanks for your help!Tonya wrote:When the "Automatically connect using this profile" box comes up unchecked for the profile you connected to automatically for the previous login, check the registry again for the values for AutomaticLogin, LastProfile and LastUsername to see if they are consistent with the profile you're trying to connect with.
I believe I was able to reproduce the same problem that you are reporting. If I log into the Vault Client, choose a profile and check the "Automatically connect using this profile", everything works correctly until in VS.Net I add a project to scc using a different profile or I open a project that doesn't use a profile. After this, my profile is no longer selected when I log into my Vault Client.
I am going to report this problem for further discussion. Dan is out of the office right now but according to his earlier comments he is aware that it works this way:
Tonya Nunn
SourceGear Support
I am going to report this problem for further discussion. Dan is out of the office right now but according to his earlier comments he is aware that it works this way:
I will see about getting this altered, I could see how it could get confusing for users.If you switch back and forth between the IDE and the Vault client, it will change how you login from one to the other.
Tonya Nunn
SourceGear Support
Tonya,
I had the problem happen this morning. Here's what I did.
I used VS.Net to lok at some source code. I checked out the file but because I didn't make any changes I performed an Undo checkout to put the file back into vault. I then exited out of VS.Net.
Next I loaded vault client, which automatically logged me in, and did a get latest on 3 different projects and then closed the client.
I then went back into VS.Net and loaded one of the projects I just performed a get latest on and received the password error dialog.
I ran RegEdit and checked the following keys:
AutomaticLogin - False
LastProfileName - Zack
LastUsername - zjones
I double checked the mssccprj.scc file where the solution file is stored and it does have my profilename listed in it. I hope this extra information helps.
I had the problem happen this morning. Here's what I did.
I used VS.Net to lok at some source code. I checked out the file but because I didn't make any changes I performed an Undo checkout to put the file back into vault. I then exited out of VS.Net.
Next I loaded vault client, which automatically logged me in, and did a get latest on 3 different projects and then closed the client.
I then went back into VS.Net and loaded one of the projects I just performed a get latest on and received the password error dialog.
I ran RegEdit and checked the following keys:
AutomaticLogin - False
LastProfileName - Zack
LastUsername - zjones
I double checked the mssccprj.scc file where the solution file is stored and it does have my profilename listed in it. I hope this extra information helps.
Is this the same problem that you have been experiencing? I thought the problem you were reporting was that the profile wasn't being remembered when logging in to Vault.
Tonya Nunn
SourceGear Support
Are you receiving an "Invalid Password" dialog?I then went back into VS.Net and loaded one of the projects I just performed a get latest on and received the password error dialog.
Tonya Nunn
SourceGear Support
I am using Vault ver 3.1.1 and i face the same problem. This is the content of MSSCCPRJ.SCC
This project was added by my collegue using her profile. When i get the latest version from the Vault Server and run it from the VS.Net IDE, the dialog box appeared. It happens every time i tried to open the project file. I have also checked the "Automatically connect using this profile" & "Remember password" check boxes. I do not check the "automatically choose this repository" check box simple because i create the repository base on the year when the project was started. So, i will frequently switch among the various repositories.
I don't face this problem with the projects i added in with my own profile.
It shows the correct profile that i am using.SCC = This is a source code control file
[WinApp.csproj]
SCC_Aux_Path = http://csd-data-server/VaultService|Joel:4
SCC_Project_Name = $/C01-140-001(TieLine#2)
[WinApp.sln]
SCC_Aux_Path = http://csd-data-server/VaultService|Joel:4
SCC_Project_Name = $/C01-140-001(TieLine#2)
This project was added by my collegue using her profile. When i get the latest version from the Vault Server and run it from the VS.Net IDE, the dialog box appeared. It happens every time i tried to open the project file. I have also checked the "Automatically connect using this profile" & "Remember password" check boxes. I do not check the "automatically choose this repository" check box simple because i create the repository base on the year when the project was started. So, i will frequently switch among the various repositories.
I don't face this problem with the projects i added in with my own profile.
Here is what i have discovered:
1) Start Vault Client Tool.
2) Select my profile (Joel).
3) Check the Automatically connect using this profile.
4) Choose a repository.
5) Connected to the Vault Server.
6) Run regedit.exe and take a look at the AutomaticLogin value = True.
7) Close the Client Tool.
8] Refresh the registry - AutomaticLogin value = True.
9) Open the project file from VS.Net IDE (added by my collegue's profile).
10) Prompt the Connect to Server dialog box.
11) Refresh the registry - AutomaticLogin value = True.
12) Select my profile (Joel). Click the OK Button.
13) Prompt the Choose Repository dialog box.
13) Refresh the registry - AutomaticLogin value = FALSE
13) Select the corresponding repository.
14) Project loaded.
15) Run the Vault Client Tool again.
16) Prompted with the Login dialog box with the Automatically connect using this profile check box UNCHECKED.
1) Start Vault Client Tool.
2) Select my profile (Joel).
3) Check the Automatically connect using this profile.
4) Choose a repository.
5) Connected to the Vault Server.
6) Run regedit.exe and take a look at the AutomaticLogin value = True.
7) Close the Client Tool.
8] Refresh the registry - AutomaticLogin value = True.
9) Open the project file from VS.Net IDE (added by my collegue's profile).
10) Prompt the Connect to Server dialog box.
11) Refresh the registry - AutomaticLogin value = True.
12) Select my profile (Joel). Click the OK Button.
13) Prompt the Choose Repository dialog box.
13) Refresh the registry - AutomaticLogin value = FALSE
13) Select the corresponding repository.
14) Project loaded.
15) Run the Vault Client Tool again.
16) Prompted with the Login dialog box with the Automatically connect using this profile check box UNCHECKED.