Symptoms
WHEN You Try to Start Visual SourceSafe, You May Receive The Following Error Message:
Um.dat May Be Corrupt
Cause
New DatabaseWhen 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 et IF The Version Number IS 6.0. IF The Version Number IS 5.0, The Database Is Still in 3.1 Format.
EXISTING DATABASEALTERNATILELY, this Problem Can Occur with an existing database. In this scenario, the um.dat file may be corrupted.
Resolution
New DatabaseTo 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 the Then Type ONE ONE FOLLOWING COMMANDS:
• DDCONV path to Data Directory • DDUPD PATH to Data Directory
EXISTING DATABASETO 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 kilick ok.3.go to the VSS / Win32 Folder In The Command Prompt Window, and the 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 analysis.9.add all of the visual sourpe users again.10.reassign Rights to the visual sourcesafe users.status
This behavior is by design.