SOS concurrency crash when using VSS 6.0d

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

SOS concurrency crash when using VSS 6.0d

Post by lbauer » Thu Dec 18, 2003 10:40 am

The SourceSafe Automation component can be susceptible to thread problems when accessed by simultaneous users. Since SourceOffSite communicates with the VSS database by the SourceSafe Automation component, this can result in a hang or crash when more than one person tries to access SourceOffSite concurrently.

In earlier versions of VSS, this was not a severe issue. However, as of VSS 6.0d, issues in the threading model were more readily exposed by SourceOffSite.

You can prevent crashes when VSS is updated to VSS 6.0d by making a change to the registry settings for the VSS APIs on the SOS Server machine.

First verify that the version number of the ssapi.dll in the Win32 directory of the VSS Client on the SOS Server machine ends in 98.48

Then, find the following key

HKEY_CLASSES_ROOT\CLSID\{783CD4E4-9D54-11CF-B8EE-00608CC9A71F}\InprocServer32

Next, find the "ThreadingModel" Key, and set its value to "Both".

This should prevent the instant crashes you are seeing when two people simultaneously connect to SourceOffSite.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply