Solved

visual source safe 6 doesn't recognize user from command line

Posted on 2010-08-14
4
607 Views
Last Modified: 2013-11-26
We use VSS 6 on a network share.  I have no problems when using the explorer, but when I try to use the command line I get an error that my user name doesn't exists!?  Here is the line I'm using:
  ss Get $/Projects/ProjectName -R -Yusername,password
I immediately get prompted for username and password ... after password is entered a message is returned saying "username" not found.

Another thing:  I changed my password through the admin program, but when I logged in to the VSS explorer it never prompted me for the new password.
0
Comment
Question by:dhenderson12
  • 2
4 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 250 total points
ID: 33440783
Cross-checked that. Only if the user/password pair is not correct, you are prompted for another one. That works fine for me in all combinations.
0
 

Author Comment

by:dhenderson12
ID: 33442706
thanks for the reply.  it's a weird thing.  I changed my password in VSS Admin, but was never prompted for the new password, and trying to run the ss.exe from a command prompt fails my userid and password every time;  however, if I run ss.exe from a batch file, no userid or password is required and it works as expected (I just found that out last night).

I guess I can run it from a batch file, since I need to do this on a remote server, but that brings up another question:  How do I set the force_dir=yes initialization setting from a batch file?  Not being able to set this requires that the "get" command be run from the local folder that is to be the target of the "get".
0
 
LVL 23

Assisted Solution

by:Admin3k
Admin3k earned 250 total points
ID: 33443008
Start>Run>control userpasswords2 , then press enter
Advanced>Password & .NET Passports>Manage Passwords
Now if there are any cached credentials pointing to your VSS server , remove them.
Also , if you have any currently mapped network drives from the server, could you please disconnect them from Windows explorer>tools>disconnect network drives, then re-map them.




0
 

Author Comment

by:dhenderson12
ID: 33446986
I finally got it to work, but I had to use the Interop.SourceSafeTypeLib.dll from within c#, so it's a bust on the command line but a success from c#.  Anyway, if I figure out the issue I will repost to share.  Thanks for the help, all.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now