Article ID: 171116 - Last Review: May 21, 2007 - Revision: 2.2 How To Enable VSS Integration with FrontPage and Visual InterDevThis article was previously published under Q171116 On This PageSUMMARY
FrontPage and Visual InterDev integration with Visual SourceSafe differs
from how other integrated applications, such as Visual Basic and Visual C++
integrate with Visual SourceSafe. This article briefly describes how
FrontPage and Visual InterDev perform Visual SourceSafe operations, and the
resulting steps necessary to enable the integration.
This article covers the most common scenarios and configurations. In some cases additional steps might be necessary. If you experience any difficulty, please contact Microsoft Technical Support. MORE INFORMATION
Before going into the detailed steps necessary to enable the integration,
this article will explore the following factors:
How FrontPage and Visual InterDev Work with Visual SourceSafeThe FrontPage Server Extensions use OLE automation to connect to and interact with Visual SourceSafe.All Visual SourceSafe operations are performed by FrontPage Server Extensions on the Web server itself, not client machines. The Web server can be Internet Information Server (IIS) or Personal Web Server using the DCOM extensions. This article relates mainly to IIS. Which Visual SourceSafe Database Is Used?FrontPage Server Extensions must find a Srcsafe.ini file to perform Visual SourceSafe operations through OLE automation.
Local vs. Remote Visual SourceSafe DatabaseA local database is one that is on the same machine as the Web server and is accessed through local paths only. A remote database is one that either resides on a separate computer, or on the same one as the Web server, but it is accessed as if it were a network location.To illustrate this, if you are using Visual SourceSafe 5.0 and the local path to Ssscc.dll is as follows: C:\vss\win32\ssscc.dll \\mymachine\vss_share\win32\ssscc.dll X:\vss\win32\ssscc.dll You can also use the Data_Path ini variable in the Srcsafe.ini file to point to remote data. By default the setting is as follows: Data_Path = data The Anonymous UserIn the steps necessary to enable integration, several references are made to the Anonymous user. These steps should only be when "Allow Anonymous" is enabled in the IIS Web Service Properties.
Steps Necessary with both Local and Remote DatabasesThere are four components that you must configure correctly:
To enable OLE automation with VSS, the file Ssapi.dll must be registered (that is, in the Windows Registry) on the Web server. While it is possible to do this manually using Regsvr32.exe, the preferred method is to install either the VSS server or client components on the Web server. With VSS5 select Custom setup, and make sure that the Enable Visual SourceSafe Integration check box is selected. Permissions to the Visual SourceSafe Directory Structure: To view Directory permissions, right-click the Directory in the Windows NT Explorer, click Properties, click the Security tab, and then click Permissions. To view Share permissions, right-click the shared Directory in the Windows NT Explorer, click Properties, click the Sharing tab, and then click Permissions. Assign CHANGE permissions to all Visual SourceSafe logon accounts for all files and subdirectories under the Visual SourceSafe server installation directory. It is assumed that the Administrators and System accounts will be granted Full Control to the entire Visual SourceSafe directory hierarchy. Although tighter file restrictions might be possible, full Visual SourceSafe functionality might be jeopardized by tighter restriction. Accounts in the Visual SourceSafe Administrator: Add the actual FrontPage or Visual InterDev user(s) (password optional). Under the Tools menu, click Options, click the General tab, and make sure that "Use network name for automatic user log in" is selected. The Anonymous Account (if applicable): Do the following on the computer running IIS:
Additional Steps Necessary for Remote Databases
TroubleshootingNOTE: If the server computer is running Windows 95, make sure that a user remains logged onto Window 95. Users often leave the server at the login prompt. The integration between Visual SourceSafe and Visual InterDev will not work when there is no one logged onto the server.The Windows NT Event Viewer on the IIS server often contains information that can help locate the cause of a problem if integration is not working. These log errors usually come in pairs, the later (topmost) of which usually contains an error number and the one below it a short description of the error. Double-click a log entry to view its details. NOTE: Visual InterDev usually reports errors encountered in an error message, whereas FrontPage suppresses the errors. To ensure that FrontPage Server Extensions writes errors to the Windows NT event log, refer to: 191289
(http://support.microsoft.com/kb/191289/EN-US/
)
How To Enable Event Error Logging for FrontPage 98 and SourceSafe
The errors might differ depending on exactly how the components are
configured. Following is a list of possible errors might that appear in the
Application Log and their causes:
REFERENCESGeneral Integration InformationFor general information on Visual InterDev integration, see the online documentation in the User's Guide, Authoring Web Content, Using Visual SourceSafe With your Web.TroubleshootingFor more information about troubleshooting FrontPage or Visual InterDev integration, click the following article number to view the article in the Microsoft Knowledge Base:160766
(http://support.microsoft.com/kb/160766/
)
VSS Source Control Project box does not appear in FrontPage 97
IIS Security and the Anonymous AccountFor general information on IIS security and the anonymous account, see Chapter 5 of the online documentation for IIS (Inetdocs.htm).For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/) http://support.microsoft.com/ph/807 (http://support.microsoft.com/ph/2073) 131022
(http://support.microsoft.com/kb/131022/
)
Required network rights for the SourceSafe directories
APPLIES TO
| Article Translations
|
Back to the top
