blog community

Welcome to blog community Sign in | Join | Help
in Search

Raimond Brookman

Architecture and .NET Development

Persuading Visual Studio 2003 to use the correct login ID for Source Safe

I had an interesting issue where somewhere in the past I had used the guest account inside Visual Studio to connect to Visual Source Safe. However, since then, Visual Studio remembered this login ID.

It is visible using Tools->Options->Source Control->SCC Provider and it showed "guest" and was disabled.

Today I wanted to access this database using my own account, only Visual Studio stubbornly kept using the guest id.

I already had used the SSUSER environment variable to set the correct user; but although this makes the VSS explorer use the correct user, in this case it did not help to select the correct user for VS 2003.

In the end I performed this trick to make it work:

1. Temporarely rename the "wrong" ID (in this case 'guest') to something else.

2. Restart Visual Studio and open te source controlled project

3. Visual Studio will ask for an ID and Password because the one it knows does not work

4. Fill in the correct ID and password.

5. Close Visual Studio

6. Rename the "wrong" id back to its orgininal name.

This is the way it has worked for me; although I'd rather see a better solution for this problem....

Published Monday, January 22, 2007 5:15 PM by Raimondb

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

stibot said:

I was not successful with your tip, but it helped to set HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Source Control variable for me.

August 3, 2007 12:43 PM
 

TCarson said:

Thank you to you both for the pointers.

I found my "stuck" user id in VS2003 in the following place:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\SourceControl\UserNames

August 31, 2007 2:37 AM
 

BWilson said:

Thanks, especially TCarson - spot on

February 1, 2008 12:31 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

Subscribe in NewsGator Online

Subscribe in Bloglines

Add to Google


 Visitors since June 2005




Powered by Community Server, by Telligent Systems