Um.dat may be corrupt

SYMPTOMS

When you try to start Visual SourceSafe, you may receive the following error message:
Um.dat may be corrupt

CAUSE

New Database

When you create a new database, a 3.1 database format is converted to a 5.0 database format, which is then converted to a 6.0 database format. If the conversion is not completed, the database may still be in 3.1 format. Check the Version.dat file to see if the version number is 6.0. If the version number is 5.0, the database is still in 3.1 format.

Existing Database

Alternatively, this problem can occur with an existing database. In this scenario, the Um.dat file may be corrupted.

RESOLUTION

New Database

To resolve this problem, manually run the Ddconv.exe file against the database to convert the database format. Alternatively, you can run the Ddupd.exe file if you want to upgrade the database to 6.0 format.

For example, go to the VSS/Win32 folder in a command prompt window, and then type one of the following commands:
ddconv path to data directory
ddupd path to data directory

Existing Database

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.

STATUS

This behavior is by design.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值