向VSS高手
发布时间:2011-06-20 17:21:08 文章来源:www.iduyao.cn 采编人员:星星草
向VSS高手求救!
第一次用VSS6.0,刚刚装完Visual Studio,但就是不能用VSS,每次启动时,总是出现.\Microsoft Visual Studio\vss\data\um.dat may be corrupt,装了无数次,真是烦了!请教各位,这是怎么回事?
------解决方案--------------------
转自:http://blog.csdn.net/colayungnew/category/51685.aspx
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.
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
向版主提问
为什么没有软件测试的专区呢?
------解决方案--------------------
有 质量管理/软件测试 子版
------解决方案-----...
-
Scrum敏捷项目管理 - 软件工程/管理 / 休闲广场
< <Scrum敏捷项目管理> > < <更多的软件需求:一些实际问题的解决方案> >
...
-
AutoCAD打不开*dwg文件了,怎么办?急急急
用的是天正7.6
上午都还可以,下午就打不开图了
(点击打开,再点击图名,预览里可以看见图形,点击...
-
现在老师让做一个requirement的web services应用,谁了解需求类的开源软件?
IBM有Jazz,但是不是开源的,所以我们要模仿着做一个开...
-
在注册表中将microsoft ODBC for oracle 删除了,怎么恢复?
我在卸载oracle时不小心将注册表中的microsoft ODBC for oracle 删除了,...
-
编写桌面程序
我想编写一个桌面管理程序,可以随自己心意即时改变桌面背景,且桌面背景可以是自己制作的,还要能在桌面上打字,字体大小 ...
-
动态配置增加、修改、删除管理型界面功能
在项目中,我们应用涉及多个表,这些表用来存放不同结构的数据信息,如果信息本身的字段一样,...
-
有没有将C++源代码转换成UML图,便于分析源码的工具?
如题!
------解决方案--------------------
这个在UML建模里叫反向工程吧,很...
-
根据你对国家防火墙及翻墙软件的理解,你认为我们通过技术手段怎么更好的弥补防火墙不可避免的缺陷?
根据你对国家防火墙及翻墙软件...
-
各位大虾谈谈软件开发模式和软件设计
我想请各位大虾谈谈软件开发模式和软件设计
------解决方案--------------------
接分 路...