Solved

VSS VS.NET disconnect with "Invalid Handle"

Posted on 2006-06-26
3
3,208 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

775 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