Visual SourceSafe internet was not enabled on this computer because Internet Information Services(IIS) is not installed.

来源:互联网 发布:数据恢复大师好用吗 编辑:程序博客网 时间:2024/05/21 09:42

我在用VSS2005做使用internet访问时,提示我IIS未安装?
以下是完整的错误信息:
Visual SourceSafe internet was not enabled on this computer because Internet Information Services(IIS) is not installed.
Please install Internet Information Services before configuring Visual SourceSafe Internet.
网上搜索了一下,原来VSS要默认IIS的标识符为1的,唉,只要更改IIS站点的标识符就可以了。

我们知道,IIS默认建立了一个“默认WEB站点”,标识符为1,在windows   2003   server中新建立的站点标识符特别大,如何修改为比较小的数字呢?

IIS6.0会在新建站点后对站点分配一个标识符,我们可以通过一些手段来修改这个标识符。

http://2009.hx008.cn/Article/class9/200804/1417.shtml
首先需要断开IIS的连接,然后在“控制面板---管理工具---服务”中停止IISAdmin相关服务。
找到IIS安装路径:
%SystemRoot%/system32/inetsrv
下的:MetaBase.XML文件,用文本编辑器打开它,查找所有你要修改的站点标识符并且替换它,存盘。
重新启动IISAdmin服务,启动Web站点。
如图:


例如 MetaBase.xml 文件里的 <IIsWebServer Location ="/LM/W3SVC/1"里的1。

为了稳妥起见,推荐使用MetaBase的工具,IIS 6.0 - Metabase Explorer
这个软件在IIS 6.0 Resource Kit Tools里。

都是vss2005惹的祸。

原创粉丝点击