PC Adm: Err Msg: Template File Does Not Match Data File

ID: Q105124

The information in this article applies to:

SYMPTOMS

With versions 2.1, 3.0, and 3.2 of Microsoft Mail for PC Networks, the following error may appear in the Mail Administrator program (ADMIN.EXE) when you attempt to create or modify a local user under Local-Admin, Create or Local-Admin, Modify:

   Notice 93 Template file does not match data file. Press Enter to
   continue.

CAUSE

This error occurs when the ADMIN.TPL file has been modified and no longer corresponds to the records in the existing ADMIN.INF file.

RESOLUTION

To resolve this problem, rename or delete the existing ADMIN.INF file and use the Administrator program to re-enter the template information by modifying each of the local addresses.

You can also resolve this issue by using the Template utility (TEMPLATE.EXE) that is located in the MAILEXE directory. This utility allows you to transfer the contents of the ADMIN.INF file into the ADMIN.TXT text file, where you can modify the information to match the information in the existing ADMIN.TPL file. You can then convert this manually modified ADMIN.TXT file to a new ADMIN.INF file using the TEMPLATE utility. To use this utility, you must do the following:

 1. From the MS-DOS command line, change to the INF subdirectory of
    the Mail database.

 2. Type the following command:

      type abc > admin.txt

    This command will result in the expected error message "File not
    found -ABC."

 3. Go to the root of the Mail database.

 4. Change to the drive and subdirectory that contain the Mail
    executable files. This is usually the MAILEXE subdirectory.

 5. Type the following (this example assumes that the MAILDATA
    subdirectory is in the root of drive M):

       template m:\tpl\admin.tpl m:\inf\admin.inf m:\inf\admin.txt -dm

 6. Change to the INF subdirectory.

 7. Use a text editor to modify the ADMIN.TXT file so it matches the
    new ADMIN.TPL format. For more information on the ADMIN.TPL file,
    see the Microsoft Mail "Administrator's Guide."

 8. Go to the root of the Mail database.

 9. Change to the drive and subdirectory that contain the Mail
    executable files. This is usually the MAILEXE subdirectory.

10. Type the following (this example assumes that the MAILDATA
    subdirectory is in the root of drive M):

       template m:\tpl\admin.tpl m:\inf\admin.txt m:\inf\admin.inf -dm

These steps result in the creation of a new ADMIN.INF file that now matches the current ADMIN.TPL file.

Additional reference words: 2.10 3.00 3.00b 3.20 admin KBCategory: kbenv kbtool kberrmsg kbtlc KBSubcategory: MailPCAdm

Last Reviewed: October 24, 1995