?
Solved

VSS VS.NET disconnect with "Invalid Handle"

Posted on 2006-06-26
3
Medium Priority
?
3,401 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline
Suggested Courses

850 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