vss安装的问题:提示'UM.dat may be corrupt'

 安装完毕了,但是不管运行VSS还是VSS   ADMIN,都弹出错误说UM.DAT   MAY   BE   CORRUPT.怎么解决?谢谢!

 

To   resolve   this   problem,   build   a   new   Um.dat   file.   Note   that   when   you   build   a   new   Um.dat   file,   you   must   add   all   of   the   users   again.  
   
  To   build   a   new   Um.dat   file,   follow   these   steps:   1.   Create   a   temporary   folder   named   C:/Sstemp.    
  2.   Click   Start,   click   Run,   type   cmd,   and   then   click   OK.    
  3.   Go   to   the   VSS/Win32   folder   in   the   command   prompt   window,   and   then   type   the   following   command:    
  mkss   c:/sstemp    
  4.   In   the   VSS/Win32   folder   at   the   command   prompt,   type   the   following   command:    
  ddconv   c:/sstemp    
  5.   In   the   VSS/Win32   folder   at   the   command   prompt,   type   the   following   command:    
  ddupd   c:/sstemp    
  6.   Copy   the   Um.dat   file   from   the   C:/SStemp/Data   folder   to   the   Visual   SourceSafe   data   directory.    
  7.   Rename   the   Rights.dat   file   in   the   Visual   SourceSafe   data   directory   as   Rights2.dat.    
  8.   At   a   command   prompt,   run   the   analyze   -f   command   against   the   database.    
  9.   Add   all   of   the   Visual   SourceSafe   users   again.    
  10.   Reassign   rights   to   the   Visual   SourceSafe   users.    

主要是2,3,4三步,重新生成数据库文件,4步骤可以不用。将前面生成的内容拷贝到VSS的安装目录下面的data文件夹中,不用5在命令行下运行,直接运行VSS工具:Analyse VSSDB即可。

    其后就可以登陆了,此时默认用户名admin,密码为空,进去之后可以设置用户权限

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭