VSS无法加新用户解决方案

来源:互联网 发布:老九门网络同步更新 编辑:程序博客网 时间:2024/06/04 19:45

PRB: 添加新用户时文件未找到错误
察看本文应用于的产品
注意:这篇文章是由无人工介入的自动的机器翻译系统翻译完成。这些文章是微软为不懂英语的用户提供的, 以使他们能够理解这些文章的内容。微软不保证机器翻译的正确度,也不对由于内容的误译或者客户对它的使用所引起的任何直接的, 或间接的可能的问题负责。
文章编号 : 149378
最后修改 : 2001年5月1日
修订 : 1.0
本页

症状

原因

解决方案

template.ini 内容

状态
症状
当新用户添加到 VisualSourceSafe, 管理程序生成以下错误之一:
未找到 /USERS < 路径 > 到 Project 文件
- 或 -
DOS 路径无效
在 SourceSafe 5.0 和更低, 将用户添加到 VisualSourceSafe。 所有版本, 中还创建用于用户目录但是不包含 Ss.ini 初始化文件。
 回到顶端

原因
管理程序无法找到 Template.ini, 用于 Ss.ini 模板。 当添加新用户, 管理程序创建对用户目录。 它还创建一个用户文件, Ss.ini, 其中包含默认设置为该特定用户。 管理程序使用 Template.ini 文件来创建 Ss.ini 文件。 如果 Template.ini 文件不位于用户目录, 会显示 " 未找到文件 " 错误。
 回到顶端

解决方案
如果没有用户目录, 中没有 Template.ini 文件可从下面提供信息创建此文件。 将此代码复制到文本文件。 然后将文本文件保存 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 = $/
    
 回到顶端

状态
此行为是设计使然。
 回到顶端
 

原创粉丝点击