when you open an archive database in the lotus notes will have the error that "Type mismatch on external name: UIMEMODOCUMENT "
1. Open your archive, and then go to File menu, Application, Replace Design.
2. In the Replace Design dialog box, Select "Mail (R8.5) or your Template" and then click Replace.
3. wait until complete .
4. Restart the Lotus Notes.