Can't connect to VSS database

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
nalenb
Posts: 59
Joined: Tue Aug 03, 2004 1:28 pm

Can't connect to VSS database

Post by nalenb » Wed Jun 08, 2005 3:34 pm

I've installed the trial to see how much better SOS is for network use than VSS. I'm on a VPN. The server running SOS is accessible to me via the network. When I remote connect to the server I can run VSS. I have mapped a drive g: to the VSS database server (it's on a Novell server). The client successfully connects to the SOS server, but then fails to connect to the database.

Any ideas? I really, really want this to work for my group. :-)

Here's my log file:

6/8/2005 5:23:45 PM - ****************************************************
6/8/2005 5:23:45 PM - SourceOffSite Server 4.1 Professional - With Cryptography

6/8/2005 5:23:45 PM - CurrentCulture is en-US.

6/8/2005 5:23:46 PM - Server Information
6/8/2005 5:23:46 PM - Operating System: Microsoft Windows 2000 Server
6/8/2005 5:23:46 PM - Service Pack: 4.0
6/8/2005 5:23:46 PM - OS Version: 5.0.2195
6/8/2005 5:23:46 PM - Locale: Ox0409
6/8/2005 5:23:46 PM - OSLanguage: 1033
6/8/2005 5:23:46 PM - Total Physical Memory: 247.48 MB
6/8/2005 5:23:46 PM - Time Zone: (GMT-05:00) Eastern Time (US & Canada)
6/8/2005 5:23:46 PM -
6/8/2005 5:23:46 PM - SSAPI.dll Information:
6/8/2005 5:23:46 PM - Location: file:///C:/Program Files/SourceOffSite Server/Interop.SourceSafeTypeLib.DLL
6/8/2005 5:23:46 PM - DisplayName: Interop.SourceSafeTypeLib, Version=5.1.0.0, Culture=neutral, PublicKeyToken=null
6/8/2005 5:23:46 PM -
6/8/2005 5:23:46 PM - Started at 6/8/2005 5:23:46 PM

6/8/2005 5:23:46 PM - General logging level is Error. Method logging is Disabled.

6/8/2005 5:23:46 PM - Number of licenses configured: 10
6/8/2005 5:23:46 PM - SourceSafe Initialization file(s) located at:
6/8/2005 5:23:46 PM - C:\Program Files\Microsoft Visual Studio\Common\VSS\srcsafe.ini

6/8/2005 5:23:46 PM - VALW408 is attempting to listen for connections on secure port 8091
6/8/2005 5:23:46 PM - VALW408 is attempting to listen for connections on unsecure port 8090

6/8/2005 5:23:46 PM - Waiting for a connection....secure = True
6/8/2005 5:23:46 PM - Waiting for a connection....secure = False
6/8/2005 5:26:24 PM - Connection accepted from myip:1493 on local address serverip:8090, session id is 1.
6/8/2005 5:26:30 PM - 1: Exception during Login: Invalid handle.
6/8/2005 5:26:30 PM - 1: Invalid handle.

nalenb
Posts: 59
Joined: Tue Aug 03, 2004 1:28 pm

Post by nalenb » Wed Jun 08, 2005 3:38 pm

Just to maybe add some clarification.

My computer -> web server running SOS, connection is good

My computer SOS client -> server running SOS, connection seems good, it retrieves the database alias I setup

web server running SOS -> VSS database on Novell, connection is good since I can run the client on the web server

SOS -> VSS database ? possible problems here I guess but no error message is given to indicate it

nalenb
Posts: 59
Joined: Tue Aug 03, 2004 1:28 pm

Post by nalenb » Wed Jun 08, 2005 3:58 pm

Aha, success. I guess the service couldn't use the mapped drive through the Novell gateway. I changed the service to use the current user and I could connect. Now I will try to find a way to get it to connect when I'm not logged on.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Jun 09, 2005 7:38 am

It's pretty tricky to get SOS to connect to a VSS database on a Novell Server.

When you said you configured the SOS Server Service to use the "current user". which account did you mean? The user logged into the server machine at that time?

Another possibility is to run SOS as an app, rather than as a service. To do this:

at the cmd line type:

c:\program files\sourceoffsite server> sosservice.exe 1

Just passing a "1" to the application will allow it to run as an
application.

This does away with the need for configuring the service.
Linda Bauer
SourceGear
Technical Support Manager

nalenb
Posts: 59
Joined: Tue Aug 03, 2004 1:28 pm

Post by nalenb » Thu Jun 09, 2005 8:07 am

Yeah, the user that I setup the gateway with. It's working perfectly now, but I haven't rebooted the server. That'll be my next test. If it works after a reboot (and without logging in as that user and doing anything) then I'll be all set. If not, I may try running it as a person and just leaving it running in my account. It'll mean having to log in and start it whenever it gets rebooted, but that shouldn't be too often.

Post Reply