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 = $/

posted @ 2008-07-23 14:28  WhiteSnow  阅读(1863)  评论(0编辑  收藏  举报