Setting VSS2005 to enable access over the Internet

Source: Internet
Author: User

Set VSS2005 to enable access over the Internet (GO)

Recently need to access the source code through the Internet, has been using vss6.0d, but does not support Internet access features, must be implemented through third-party software, the previous period of time to download the VSS2005, online to see a lot about the settings VSS2005through the Internet access to the article, I did not really use the Internet access features, plus online articles about the introduction of less detailed, some places I did not carefully study and do not understand what the meaning, this time to a complete practical operation with the drawings to do a demonstration, Also for some of the faithful friends of VSS to point a way.

This configuration VSS2005 operating environment: win2003/dotnet2.0

Note: VSS requires IIS to support ASP. NET 2.0 because the runtime of VSS2005 is 2.0, and if you have 1.1 at the same time, the settings in IIS will be the source Safe's Run-time to 2.0 (asp.net2.0 's run-time automatically installs when VSS2005 is installed)

One, VSS2005 server settings 1, with administrator rights to log on to the Web server Zhangfang; 2. Run visual SourceSafe Administrator visual SourceSafe Administrator (if you have not installed VSS2005 on the Web server, install it first) in the VSS Create a new VSS DB in the administrator. Then open in local mode, such as D:\vss, and then tick "Enable SourceSafe Internet for this computer" in Server->configure
At this point VSS2005 will automatically establish the virtual directory in IIS: SourceSafe
3, share the VSS directory in the Resource Manager, set the permissions (Administrator get all the permissions of the directory);
4.the \\computer Name\vss is then re-opened in VSS Administrator.
Click on the "Add ..." button to select the first item "Connect to anexisting database"

Next, enter the VSS shared directory under the Web server (here to pay attention to the details, if the input IP address is likely to be a small problem in the next step, of course, if there is no problem in the network can be, I suggest or use click "Browse ..." Select the VSS directory you just shared from your network Neighborhood)
Next, when you are finished opening the database ( because VSS needs to be accessed remotely over the Internet, you cannot open the database with a directory name similar to D:\VSS, but instead it is the share name of the \ machine name \vss database, for example: \\MyServer\vss, Request Database, and then go to the Server->configure menu, and then tick "Enable SourceSafe Internet for this" click OK, At this point VSS2005 will automatically and in the virtual directory SourceSafe set up two virtual directories: VSSUPLOAD_DB1, VSSDOWNLOAD_DB1In the middle there will be some hints, no matter what he answersYes. (The first time you will be prompted if you need to use SSL, you can configure it if needed.) IIS automatically creates the following virtual directories (you do not need to manually establish virtual directories under IIS):
5, in order to confirm whether set up, again open the above dialog box, see "Enable SourceSafe Internet for this database" is selected, if not, you do not use "\ \ machine name \VSS database share name" Open the database, please re-use this way to hit and try again;
Second, the client's settings (you can only use the VSS Internet plug-in in VS2005 to access the database set up above, the direct use of the VSS client is not possible1, run VS2005; 2, select: Tools-Options, open Options dialog 3, select "Show All Settings", select: Source Control-Plugin selection, select on the right: Microsoft Visual SourceSafe (Internet) 4, Select: Source Control-Plug-in settings, on the right click on the Advanced button will appear: If the server Settings section selected to use SSL Select the above check box, otherwise do not select, click OK OK. 5. Save the option and close it; 6. OK, now you can add the code, right-click on the project or project you want to add to VSS, select "Add Solution to Source Control": Click "Add ..." button
Enter the server IP address or domain name (my test machine is 192.168.1.2, if you are using a domain name you can enter such as www.web3.cn), then enter the Web server shared VSS folder format as \\compter name\ VSS (this address is not actually the address that your machine wants to access, but rather through such as http://www.web3.cn/sourcesafe/vssservice.asmx For access, the \\compter Name\vss address is provided to the server to read the local shared directory)

Next, you are required to enter the user and password (here is the user and password of the win system, that is, the user has just set the share permissions, as for the VSS2005 password is another input, this should be divided into clear)

Select the database and click "Open" to open

7. Click the "OK" button to prompt to upload the source code to the VSS2005 (if you do not use SSL, there will be a security warning in the middle, do not care about it, continue)

Set VSS2005 to enable access over the Internet (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.