Solved

VSS VS.NET disconnect with "Invalid Handle"

Posted on 2006-06-26
3
3,186 Views
Last Modified: 2008-01-09
This morning I was working along in Visual Studio.NET (same as always for the last 4 years) and suddenly my UPS failed, and my machine went down.  I brought it back up, and now I can't open any of my projects in Visual Studio with Visual Source Safe.  It throws the error "Invalid Handle."  I can see the vss ini file on my network, and I can log in as Admin, but I can't log in as "me" (the regular user I use when I'm developing and working with files.)

My search of the net returns very little in the way of information about this error, and nothing that seemed to apply to me.  I can get to the INI file in VSS just fine (no network problems.)

Has anyone seen anything like this, or have any idea where I can look for the answer?
0
Comment
Question by:AptDev
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16985307
1) .NET version:  2002, 2003, or 2005?
2) VSS version
3) Does the VSS GUI application work outside of Visual Studio?

Bob

0
 

Author Comment

by:AptDev
ID: 16985412
Bob,

Thanks for your reply.

1) Visual Studio .NET 2003 version 7.1.3088 (DotNet Framework 1.1 version 1.1.4322 SP1)
2) VSS Version 6.0d (build 9849)
3) When I try to open the VSS GUI, it throws the same error (Invalid Handle) because it tries to automatically log me in with my name, but I can log in as ADMIN.  So Yes, I can get into the GUI.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 16985476
Step 1 is to run the ANALYZE utility in the Win32 folder against the database.  It will check for database consistency.

http://msdn2.microsoft.com/en-us/library/ysxsfw4x.aspx

Bob
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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: …

914 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

17 Experts available now in Live!

Get 1:1 Help Now