VSS添加用户时出错--File ...\Users Not Found

SYMPTOMS
When a new user is added to Visual SourceSafe, the Admin program generates one of the following errors:
File \USERS Not Found
-or-
Invalid DOS Path
In SourceSafe 5.0 and earlier, the user is added to SourceSafe. The directory for the user is also created in all versions, but it does not contain the initialization file Ss.ini.

现象
当在VSS添加用户时,管理程序发生以下错误:
File \USERS Not Found

Invalid DOS Path
在VSS5.0或更早版本中,用户被添加到VSS中。在所有的版本中,用户目录此时会被创建,但用户初始文件SS.ini没有被生成。

CAUSE
The Admin program cannot find the Template.ini, a template for the Ss.ini. When a new user is added, the Admin program creates a directory for the user. It also creates a user file, Ss.ini, which contains default settings for this particular user. The Admin program uses the Template.ini file to create the Ss.ini file. If the Template.ini file is not in the Users directory, the error "File Not Found" is displayed.

发生原因
管理程序无法找到SS.ini的模板Template.ini文件。当添加用户时,管理程序为用户创建目录,同时也要创建一个用户文件SS.ini,这个文件包含该用户的默认设置。管理程序使用Template.ini来创建SS.ini。如果Template.ini不在Users目录时,会显示"File Not Found"。

RESOLUTION
If there is no Template.ini file in the Users directory, you can create this file from the information provided below. Copy this code into a text file. Then save the text file as Template.ini, and copy it to the Users directory.

解决方法
如果在Users目录下不存在Template.ini文件,你可以使用下面提供的信息创建Template.ini文件。将下面的代码复制到一个text文件,并保存为Template.ini,并将它复制到Users目录中。

Content of the Template.ini
Template.ini文件的内容如下

; ss.ini
;
; This file contains all the variables that "customize" Visual
; SourceSafe to your particular needs. The ss.ini variables are
; documented in the Visual SourceSafe User's Manual. Only a few of them
; are placed in this file by default.

; Visual C++ programmers should remove the semicolon from the following
; line, to uncomment it. Other programmers REPLACE the line with
; different masks.
; Relevant_Masks = *.c, *.h, *., *.asm

; The following line prevents you from being asked for a checkout
; comment.
Checkout_Comment = -

; The following lines force Visual SourceSafe not to execute certain
; file types.
.reg (Win) = notepad.exe
.vbp (Win) = notepad.exe
.vcp (Win) = notepad.exe
.mak (Win) = notepad.exe
.bat (Win) = notepad.exe

; Your current Visual SourceSafe project.
Project = $/

转载于:https://www.cnblogs.com/dongxue/archive/2008/07/23/1249550.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值