Microsoft KB Archive/186468

= OL98: Error Publishing Large Form on Windows 95/98 =

Article ID: 186468

Article Last Modified on 9/7/2006

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q186468



SYMPTOMS
You create a large custom Outlook form that contains many controls or user-defined fields. When you try to publish the form, you receive an error message such as:

Unable to successfully publish the form due to a MAPI error. The key 'DisplayName' is either missing or has an incorrect value...

NOTE: The error message will also reference a TMP file located in your Windows folder that stores temporary files.



CAUSE
This is a limitation of publishing forms on a Windows 95 or Windows 98 operating system. This problem typically occurs with forms that use more than 300 controls and/or user-defined fields.



RESOLUTION
Use one of the following methods to work around this problem:


 * When publishing the form, use a computer running the Windows NT operating system.
 * Redesign the forms solution so that it uses multiple forms instead of one large one.
 * Consider using a database management program such as Microsoft Access to store large amounts of data.
 * As a last resort, reduce the number of fields on the form. You can do this by using one Outlook field to store information that would normally be contained in more than one field. You would then use an Item_Open event and Visual Basic Scripting Edition (VBScript) to read the single field and parse the data. An Item_Write event could be used to concatenate the data and save it back into the single field.



MORE INFORMATION
Computers running Windows 95 or Windows 98 will not have a problem using the large form that is published on a Windows NT computer. The problem only occurs during the publishing process because the temporary file that is created is in the same format as a standard Windows INI file and exceeds 64K. Windows 95 and Windows 98 only support INI files smaller than 64K.

