Share via


Data_Path Initialization Variable

Sets the path to the data folder that Visual SourceSafe uses to keep version information. This variable is used in Srcsafe.ini only. The database administrator should use the default or set this variable only once before creating a new database.

Syntax

Data_Path = <folder path>

Remarks

The Visual SourceSafe Setup program creates a relative data path during installation. By default, Setup sets this variable so that Visual SourceSafe will look for the Data directory relative to the path where the Srcsafe.ini file is located.

Note

If you are using remote access and you change this path, you must also update the web.config file with the <AllowDataFolderRedirection> option. Inside the <appSettings> section, add the line:<add key="AllowDataFolderRedirection" value="enable"/>For example:<appSettings><add key="AllowDataFolderRedirection" value="enable"/></appSettings>

Examples

Sets the data folder to the directory Data in the Visual SourceSafe directory on the \\MIS\Developers share:

Data_Path = \\MIS\Developers\SS4\DATA

See Also

Tasks

How to: Enable the Internet Service for Remote Access

Other Resources

Initialization Variables