Chinaunix首页 | 论坛 | 博客
  • 博客访问: 334584
  • 博文数量: 25
  • 博客积分: 3055
  • 博客等级: 中校
  • 技术积分: 1557
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-05 17:53
文章分类

全部博文(25)

文章存档

2008年(25)

我的朋友

分类: C/C++

2008-07-01 20:41:44

PRB: File Not Found Error When You Add New Users

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.

 

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.

 

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.

 

Content of the 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 = $/ 
			

 

阅读(884) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~