Sometimes happen that SDL Trados 8 (2007) database (TMW file) gets corrupted, can't be fully exported and even reorganization doesn't help, stucking at some position in the middle of the database when processing. Many people tried to solve this, even SDL specialists, but without any success. Usual error message says:
- 50052: Inconsistent data. Pls reorganize the database o run an export/import
- 50050: Source segment is empty!
Solution
The issue can be solved using "Emergency Export" in Trados. This kind of export is offered when a corrupted TMW file
is opened in Trados Workbench and exports ALL segments from the database even when it is corrupted. The problem is that
not all types of corruption are the same for Trados and Emergency export is invoked very occasionally I have tried to create
a TMW file which always invokes this situation and it seems I succeeded.
To solve this problem, follow the steps:
- Make a backup of your files (always recommended)
- Open TMW file in any binary editor (I've used UltraEdit but free PSpad could help as well) and look for binary pattern
01 00 00 00 00 15 00 00 02 00 00 00 40 20 00 00
It is usually located at the beginning of the file at adress around 0x0500h.
- In this binary code, just reset bytes 13 and 14, like:
01 00 00 00 00 15 00 00 02 00 00 00 00 00 00 00
- Save the file and open in Trados Workbench.
- While opening, the Error dialog box appears asking whether to run an emergency export. Click on 'Yes' button and create the export file. You can now close Trados Workbench.
- Open a new instance of Trados Workbench and create a brand new database, based on corrupted one (if possible).
- Import the "emergency export" file.
- That's it.
|