Joseph Michael Pesch
VP Programming

Error Using Interop.SourceTypeLib.dll on Machine without VSS Installation

by 20. October 2008 14:27

Error: Retrieving the COM class factory for component with CLSID {783CD4E4- 9D54-11CF-B8EE-00608CC9A71F} failed due to the following error: 80040154.

Received when installing a .MSI (built in VS2008) onto a server that doesn't contain VSS application installation.  The VS2008 project was referencing Interop.SourceSafeTypeLib.dll (which was being copied into the insallation directory).  To resolve this issue I needed to also copy SSAPI.dll (from the local development machine VSS program directory) into the deployment folder on the target machine and register it (e.g. regsvr32 .../ssapi.dll where .../ is the actual path of the dll file).  Additionally, you will need a sub-folder (in the folder containing the ssapi.dll) and a copy of the ssui.dll in that folder (see diagram below).  The attached zip file contains the 3 dll's referenced below.

 

C:\Program Files\Microsoft Visual SourceSafe\ssapi.dll  [Target]\ssapi.dll (run regsvr32 on this one) 
C:\Program Files\Microsoft Visual SourceSafe\1033\ssui.dll [Target]\1033\ssui.dll (must be in 1033 sub-folder)
<Don't know where it originates from> [Target]\Interop.SourceSafeTypeLib.dll 

VSS.zip (488.50 kb)

Tags:

HTML | VSS

Comments are closed