PRB: Solution and Web Files Added to Different DatabasesID: Q199035
|
When adding a Visual Studio solution (.sln file) that contains a Web project to Visual SourceSafe (VSS), the .sln file and the project files are added to different VSS databases.
The .sln file and the Web project use different mechanisms for SourceSafe integration. The .sln file uses the same mechanism as other Visual Studio components, such as Visual Basic and Visual C++. Visual InterDev uses the FrontPage Server Extensions (FPSE), which in turn interact with VSS through OLE automation. This mechanism determines which database the Web files are added to. It is important to note that all VSS operations on the Web files are done on the IIS server machine, not on Visual InterDev clients.
To resolve this problem, first identify which VSS database is being used by FPSE, then ensure that the .sln file is added to that database. For most users the best option will be to create a workstation installation of VSS on the client machine by running VSS's netsetup from the database used by the Internet Information Server machine.
This behavior is by design.
Both integration methods "decide" which VSS database to use by finding a copy of the Srcsafe.ini file.
Under normal circumstances FPSE will use the Srcsafe.ini that is in the directory above the Ssapi.dll file on the IIS server (Ssapi.dll is in the VSS\win32 directory). If there are multiple copies of Ssapi.dll on the server, it will use the copy that is registered. In this situation you can run Regsvr32 <path to ssapi.dll> to register the desired copy.
The registry key
HKEY_CLASSES_ROOT\CLSID\{783CD4E4-9D54-11CF-B8EE-00608CC9A71F}\InprocServer32
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SourceSafe\Current Database
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SourceSafe\SCCServerPath,
Additional query words: kbDSupport
Keywords : kbFrontPage kbSSafe kbVisID
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: June 28, 1999