SSAPI.DLL Registration
Moderator: SourceGear
SSAPI.DLL Registration
I have both the SOS server, the SOS client (v4.1), and VSS 6.0d on my development machine. The SOS client is set to connect to the VSS database on my machine. Each time I start the SOS client I get the following message:
The server was unable to connect to the SourceSafe database.
Check your server's log file for additional information.
To fix it I do the following:
regsvr32 "C:\Program Files\Microsoft Visual Studio\VSS\win32\SSAPI.DLL"
Restart the Source Offsite Service via the Computer Management Applet
It works until I shut down the SOS client. Then I get the message again and have to repair it again.
Is there a more permanent solution?
The server was unable to connect to the SourceSafe database.
Check your server's log file for additional information.
To fix it I do the following:
regsvr32 "C:\Program Files\Microsoft Visual Studio\VSS\win32\SSAPI.DLL"
Restart the Source Offsite Service via the Computer Management Applet
It works until I shut down the SOS client. Then I get the message again and have to repair it again.
Is there a more permanent solution?
Rick Schummer
White Light Computing
White Light Computing
SSAPI.DLL Registration
Here is my recent log entries:
12/21/2005 11:22:14 PM - ****************************************************
12/21/2005 11:22:14 PM - SourceOffSite Server 4.1 Professional - With Cryptography
12/21/2005 11:22:14 PM - CurrentCulture is en-US.
12/21/2005 11:23:27 PM - Server Information
12/21/2005 11:23:27 PM - No Operating System information is avaiable
12/21/2005 11:23:27 PM - Total Physical Memory: 1023.36 MB
12/21/2005 11:23:27 PM - Time Zone: (GMT-05:00) Eastern Time (US & Canada)
12/21/2005 11:23:27 PM -
12/21/2005 11:23:27 PM - SSAPI.dll Information:
12/21/2005 11:23:27 PM - Location: file:///C:/Program Files/SourceOffSite Server/Interop.SourceSafeTypeLib.DLL
12/21/2005 11:23:27 PM - DisplayName: Interop.SourceSafeTypeLib, Version=5.1.0.0, Culture=neutral, PublicKeyToken=null
12/21/2005 11:23:27 PM -
12/21/2005 11:23:27 PM - Started at 12/21/2005 11:23:27 PM
12/21/2005 11:23:28 PM - General logging level is Error. Method logging is Disabled.
12/21/2005 11:23:28 PM - Number of licenses configured: 1
12/21/2005 11:23:28 PM - SourceSafe Initialization file(s) located at:
12/21/2005 11:23:28 PM - D:\Data\VSS\RASDevelopment\srcsafe.ini
12/21/2005 11:23:30 PM - raszt3000 is attempting to listen for connections on secure port 8081
12/21/2005 11:23:30 PM - raszt3000 is attempting to listen for connections on unsecure port 8080
12/21/2005 11:23:31 PM - Waiting for a connection....secure = True
12/21/2005 11:23:31 PM - Waiting for a connection....secure = False
12/22/2005 01:23:40 AM - Connection accepted from 127.0.0.1:3316 on local address 127.0.0.1:8080, session id is 1.
12/22/2005 01:23:41 AM - 1: Exception during Login: The handle is invalid.
12/22/2005 01:23:41 AM - 1: The handle is invalid.
12/21/2005 11:22:14 PM - ****************************************************
12/21/2005 11:22:14 PM - SourceOffSite Server 4.1 Professional - With Cryptography
12/21/2005 11:22:14 PM - CurrentCulture is en-US.
12/21/2005 11:23:27 PM - Server Information
12/21/2005 11:23:27 PM - No Operating System information is avaiable
12/21/2005 11:23:27 PM - Total Physical Memory: 1023.36 MB
12/21/2005 11:23:27 PM - Time Zone: (GMT-05:00) Eastern Time (US & Canada)
12/21/2005 11:23:27 PM -
12/21/2005 11:23:27 PM - SSAPI.dll Information:
12/21/2005 11:23:27 PM - Location: file:///C:/Program Files/SourceOffSite Server/Interop.SourceSafeTypeLib.DLL
12/21/2005 11:23:27 PM - DisplayName: Interop.SourceSafeTypeLib, Version=5.1.0.0, Culture=neutral, PublicKeyToken=null
12/21/2005 11:23:27 PM -
12/21/2005 11:23:27 PM - Started at 12/21/2005 11:23:27 PM
12/21/2005 11:23:28 PM - General logging level is Error. Method logging is Disabled.
12/21/2005 11:23:28 PM - Number of licenses configured: 1
12/21/2005 11:23:28 PM - SourceSafe Initialization file(s) located at:
12/21/2005 11:23:28 PM - D:\Data\VSS\RASDevelopment\srcsafe.ini
12/21/2005 11:23:30 PM - raszt3000 is attempting to listen for connections on secure port 8081
12/21/2005 11:23:30 PM - raszt3000 is attempting to listen for connections on unsecure port 8080
12/21/2005 11:23:31 PM - Waiting for a connection....secure = True
12/21/2005 11:23:31 PM - Waiting for a connection....secure = False
12/22/2005 01:23:40 AM - Connection accepted from 127.0.0.1:3316 on local address 127.0.0.1:8080, session id is 1.
12/22/2005 01:23:41 AM - 1: Exception during Login: The handle is invalid.
12/22/2005 01:23:41 AM - 1: The handle is invalid.
Rick Schummer
White Light Computing
White Light Computing
What's the version of the VSS automation component on your SOS Server machine? Here's how to find out:
http://support.sourcegear.com/viewtopic.php?t=1510
http://support.sourcegear.com/viewtopic.php?t=1510
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Try changing the threading model for the VSS automation component:
Find the following key in the registry on the SOS Server machine:
HKEY_CLASSES_ROOT\CLSID\{783CD4E4-9D54-11CF-B8EE-00608CC9A71F}\InprocServer32
Next, find the "ThreadingModel" Key, and set its value to "Both".
Restart the SOS Server.
Find the following key in the registry on the SOS Server machine:
HKEY_CLASSES_ROOT\CLSID\{783CD4E4-9D54-11CF-B8EE-00608CC9A71F}\InprocServer32
Next, find the "ThreadingModel" Key, and set its value to "Both".
Restart the SOS Server.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager