Unable to locate Automation Component

A collection of information about SourceOffSite, including solutions to common problems.

Moderator: SourceGear

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

Unable to locate Automation Component

Post by lbauer » Thu Feb 19, 2004 10:06 am

Something is apparently not quite right with the VSS installation on the
server machine hosting the SOS Server.

The SOS Server uses Microsoft's Automation layer to communicate with
the VSS database so a copy of the VSS Client component must be installed
on the server machine. Installing the VSS Client should install the
necessary VSS APIs.

Please verify the following:

1) Was the VSS Client installed on the SOS Server machine?

2) Was it installed from CD?

If VSS has not been installed yet on that server machine, we suggest doing so. After rebooting the server machine, you should be able to connect and download the project tree successfully with the SOS Client.

If VSS files were moved from one installation to another, then the problem is probably related to the VSS Automation component not being properly registered in the System Registry. In this case, manually registering the SourceSafe Automation component (ssapi.dll) should resolve the problem.

The steps to manually register the Automation component are outlined below.

---------------------------------------------------------
Manually registering the Automation component
---------------------------------------------------------
Detailed steps for manually registering the Automation component are as
follows:

1. Start regedit.exe (the Registry Editor)

2. Under the Edit menu, start a search for "ssapi.dll"

A. When a key is found, DELETE the entire key and all subkeys.

B. Continue searching and deleting until all occurrences have
been removed

3. Under the Edit menu, start a search for
"783CD4E4-9D54-11CF-B8EE-00608CC9A71F"
(this is the Class ID for the VSS Automation component)

A. When a key is found, DELETE the entire key and all subkeys.

B. Continue searching and deleting until all occurrences have
been removed

4. Exit regedit.exe.

5. Open a command shell and cd to your VSS installation directory.
Then cd to the win32 subdirectory. Run the command:

regsvr32 ssapi.dll

This will correctly register your latest copy of the Automation
component.

6. Restart the SourceOffSite Server
Linda Bauer
SourceGear
Technical Support Manager

Post Reply