zoukankan      html  css  js  c++  java
  • 配置Microsoft Visual SourceSafe 2005的Internet访问

    VSS2005发布以后,早就听说可以支持Internet访问,这是一个很有意思的特性。前两天有空,就安装配置了一下,成功访问。现在安装过程发布出来,大家共享。

     

    步骤0:安装前的准备事项

     

    服务器端:

    因为Internet访问是通过Web Service实现的,所以安装前要先配置安装好IIS

    安装VSS2005好像可以自动安装.Net Framework 2.0,不过,我是事先安装好.Net Framework 2.0并启用Asp.Net 2.0的。

     

    客户端:

    只有Visual Studio 2005默认支持VSSInternet访问,所以客户端还要安装VS2005

     

    步骤1:安装VSS2005

     

    安装VSS2005一路NextOK了。服务器和客户端都要安装。

     

    步骤2:创建VSS数据库,并启用Internet访问

     

    这一步最关键,如果配置没问题就成功了一半。

     

    1、  启动Microsoft Visual SourceSafe Administrator

    2、  创建VSS数据库

     

    一路NextOK。截图如下:

     



     







     


    3、  启用Internet访问

     

    • 选择菜单Server --〉Configure…,弹出Server Configuration对话框

    • Enable SourceSafe Internet for this computerEnable SourceSafe Internet for this database打上勾,输入服务器的IP地址。按确定,My God,不行。

     

    • 系统提示要用Share路径访问。重来!
    • 首先到资源管理器,把VSS数据库的路径共享,设置好用户的共享访问权限。
    • 然后再进入Microsoft Visual SourceSafe Administrator
    • 选择菜单File --〉Open SourceSafe Database…,弹出一个对话框
    • 点击Add…按钮,按下一步,在需要指定Location的时候输入\\server\vss

    • 最后选择新加的库,点击
      Open,重新执行步骤12
    • 中间会有一些提示,不管他,回答yes就是了。
    • 没有提示错误的话,你的服务器端就配置好了。


     



     

    4、  客户端通过Internet访问

     

    • 安装好VSS2005
    • 打开Visual Studio 2005
    • 选择菜单Tools --〉 Options --〉 Source Control --〉 Plug-in Selection
    • 选择Microsoft Visual SourceSafe (Internet)


    • 选择菜单
      Tools à Options à Source Control à Plug-in Settings à Advanced…
    • 去掉Always use SSL to connect to the server前面那个勾
    • 随便打开一个项目,选择菜单File à Source Control à Add Project to Source Control
    • 系统打开Open SourceSafe Database对话框
    • 点击Add…按钮
    • 你会发现第二步变成了要输入AddressFolder了。输入服务器的IP地址,和共享的目录名(例如:\\server\vss


    • 点击
      Open,出现登录对话框,输入你在服务器上的账号和密码。


    • 如果成功登录,就会出现
      Add to SourceSafe Internet对话框。

     

    你就可以把项目加入Internet了。

     

    如果出现下列错误:

    Visual SourceSafe Internet plug-in could not connect to the specified database

    Secure communication using SSL needs to be enabled for this database to use your SourceSafe logon name.

    Otherwise the database administrator will need to create a SourceSafe user matching your network user name and allow using network names for automatic user log in...

    则需要在 Visual SourceSafe中增加user, 其用户名、密码与你登录windows的用户名、密码相同。


     

     

  • 相关阅读:
    SharePoint服务器端对象模型 之 访问用户、用户组和权限(Part 2)
    SharePoint服务器端对象模型 之 访问用户、用户组和权限(Part 1)
    SharePoint服务器端对象模型 之 使用LINQ进行数据访问操作(Part 4)
    SharePoint服务器端对象模型 之 使用LINQ进行数据访问操作(Part 3)
    SharePoint 服务器端对象模型 之 使用LINQ进行数据访问操作(Part 2)
    Restful.Data 开源持久层组件项目最新进展和使用说明
    高性能网站架构设计之缓存篇(6)- Redis 集群(中)
    让 asp.net 在 mac 上飞
    高性能网站架构设计之缓存篇(5)- Redis 集群(上)
    高性能网站架构设计之缓存篇(4)- Redis 主从复制
  • 原文地址:https://www.cnblogs.com/chencidi/p/1799000.html
Copyright © 2011-2022 走看看