Solved

VSS VS.NET disconnect with "Invalid Handle"

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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